There is no court ruling here; the “appeal” is an internal administrative appeal, not an appeal to a court, which is why the article explicitly notes it wad the Trump Administration (which is not a court) that had rejected the appeal, and why it said that the state is expected to sue over the action (which would not be an option if a court had already ruled on the issue.)