The ruling had faced opposition from a state department that is suing the videogame company.