Facts

The appellant [A.] , employed by the Transports publics genevois (hereinafter: TPG) as a driver from 1 May 2004, suffered on 6 January 2013 a rupture of the scapholunate ligament of the right wrist. The disability insurance granted him vocational retraining as an accounting assistant, a training he completed in February 2015, followed by a practical internship with the TPG accounting department from 2 March to 31 August 2015.

By letter of 29 September 2015, the TPG informed him, following various interviews, that he could not resume his work as a driver due to a permanent incapacity declared by the disability insurance, that they had no position to offer him, and that they intended to terminate the employment relationship. They granted him a period of ten days, until 9 October 2015, to submit his observations in writing.

By letter of 6 October 2015, the appellant's lawyer informed the TPG of his mandate, requested access to the file and announced further submissions. The TPG did not respond to this request.

By decision of 10 October 2015, notified by registered mail, the TPG terminated the employment relationship with effect from 31 January 2016, the decision being declared enforceable notwithstanding appeal. The appellant challenged the nullity of the decision of 29 September 2015 and a violation of his right to be heard; the TPG then forwarded to him the letter of 29 September 2015.

The appellant brought the matter before the Administrative Chamber of the Court of Justice of the Republic and Canton of Geneva, seeking principally the annulment of the decision and remittal, in the alternative his reinstatement, and in the further alternative compensation of at least fifteen months' gross salary. By judgment of 20 June 2017, the Administrative Chamber dismissed the appeal to the extent it was admissible, holding that the right to be heard had been respected or, at the very least, remedied thanks to the full power of review of the cantonal authority.

The appellant lodges a public law appeal before the Federal Supreme Court, repeating his cantonal conclusions. The TPG seek dismissal of the appeal.

Central question: was the civil servant's right to be heard violated before the termination, and could that violation be remedied by the cantonal appeal authority?

Considerations

On admissibility, the TPG is a public-law body of the Canton of Geneva, and the rules adopted by its board of directors on the basis of powers conferred by the cantonal legislature fall within cantonal public law (ATF 138 I 232 consid. 1.2). The dispute constitutes a public-law matter concerning employment relationships within the meaning of art. 83 let. g FSCA, of a pecuniary nature, whose amount in dispute exceeds the threshold of 15,000 fr. (art. 51 para. 1 let. a and 85 para. 1 let. b FSCA). The appeal is therefore admissible.

On the right to be heard, the violation of this formal guarantee in principle entails the annulment of the decision, regardless of the prospects of success on the merits. It may nevertheless be remedied before an appeal authority with full power of review, but only if the infringement is not particularly serious; a significant infringement generally cannot be remedied (ATF 142 II 218 consid. 2.8.1). In public-law employment matters, informal opportunities to express oneself may suffice if the person understood that a measure could be taken against them; they must know that a decision in a certain sense is being considered. Handing over a decision while asking whether the employee wishes to comment is not sufficient. A period of 8 to 10 days is in principle reasonable, but may be too short if the party must retain a representative within that period.

In the present case, the cantonal court held that the appellant's future had been raised during the interviews and that the letter of 29 September 2015 had given him the opportunity to express himself. The Federal Supreme Court does not share this assessment: general information about the absence of a guarantee of retraining did not mean that retraining possibilities were exhausted, and it is not established that the appellant knew that a termination was concretely contemplated before the letter of 29 September 2015. Moreover, the TPG did not respond to the legitimate request of the lawyer, who was then not yet representing the appellant, to consult the file; they could not, without violating the…