Facts

The city of [X.] filed an appeal against the judgment of the Administrative Court of the Canton of Zurich, which had overturned the decision of the city of [X.] and ordered the city of [X.] to grant [Y.] the requested residence permit. [Y.] was registered for settlement in [A.] /SH, but spent weekends at his parents' house in [A.] /SH and lived in a rented 1½-room apartment in [X.] /ZH on weekdays. The city of [X.] had requested [Y.] to register for settlement in [X.] , which [Y.] refused.

The Administrative Court of the Canton of Zurich overturned the decision of the city of [X.] and ordered the city of [X.] to grant [Y.] the requested residence permit. The city of [X.] filed an appeal against this judgment with the Federal Court.

Considerations

The Federal Court examined the jurisdiction and admissibility of the appeal. It found that the appeal in public law matters is admissible, as it concerns a final decision of a last cantonal court instance.

The Federal Court then examined whether the appellant, the city of [X.] , is entitled to appeal. It found that the city of [X.] is entitled to appeal as a municipality, as it invokes the violation of guarantees granted to it by the cantonal or federal constitution.

The Federal Court then examined the question of whether the lower court respected the discretion falling within…