A judge said the head of the video game studios were improperly removed as part of a takeover plan hatched by ChatGPT.