Facts
The appellant [A.] was engaged by the Commune [B.] as of 1 February 1990 as a qualified employee in the road maintenance department, and was appointed on a permanent basis as of 1 February 1991. On 21 October 2010, the parties signed an administrative law contract subjecting the employment relationship to the communal staff regulations and, for the remainder, to arts. 319 to 343 CO.
A written warning was addressed to the appellant on 29 April 2009, following an interview with the head of technical services in the presence of a delegation of the Municipality, for a contestatory attitude and disrespectful remarks toward his superior. A further interview took place in January 2011 with a delegation of the Municipality, concerning persistent relational problems.
After a new summons of 22 February 2012 and an interview on 24 February 2012, the Municipality terminated the employment relationship as of 31 May 2012, due to repeated remarks about his attitude and statements made toward a colleague from the gardens department. The commune did not dispute the appellant's professional competence.
On 18 February 2013, the appellant brought an action before the Civil District Court of [D.] seeking payment of CHF 53,823 as compensation for unjustified dismissal and the issuance of a certificate of employment conforming to art. 330a para. 1 CO. A second, more favourable certificate was issued on 23 April 2013. The claim was dismissed on 26 November 2013, and the appeal was dismissed by the Civil Court of Appeal of the Vaud Cantonal Tribunal on 26 January 2015.
The appellant lodges a public law appeal with the Federal Supreme Court, seeking an award of compensation and the issuance of a conforming certificate, or in the alternative remittal of the case. The commune requests dismissal of the appeal.
Considerations
On admissibility, the Federal Supreme Court notes that the service relationship is subject to public law, the provisions of the CO applying only as subsidiary cantonal law. This is a pecuniary dispute of public law that does not fall within the exception of art. 83 let. g FSCA, the amount in dispute exceeding CHF 15,000 (arts. 51 para. 1 and 85 para. 1 let. b FSCA). The appeal is admissible. The jurisdiction of the Civil Court of Appeal, based on cantonal case law on administrative law contracts, is not disputed and need not be examined.
The Federal Supreme Court relies on the facts established by the prior authority (art. 105 para. 1 FSCA) and reviews the application of cantonal and communal law only from the angle of arbitrariness (art. 9 Cst.), including when federal law is applied as subsidiary law. The appellant must set out a specific argument meeting the heightened reasoning requirements of art. 106 para. 2 FSCA.
On the abusive nature of the dismissal (art. 336 CO), the list in art. 336 CO is not exhaustive, but other cases must be comparable in their gravity. Dismissal may be abusive because of the manner in which it is carried out, in particular in cases of double-dealing contrary to good faith, serious infringement of personality rights, manifest disproportion of interests, or use contrary to the purpose of an institution. The appellant argues that the commune violated arts. 11 to 13 of the staff regulations (prior warning, written communication of the facts, a twenty-day period to respond). The cantonal court held that these safeguards had been respected in substance, the appellant having been heard on several occasions and clearly warned of a threatened dismissal. The Federal Supreme Court finds that this assessment is not arbitrary: the 2009 warning and the dismissal concerned facts of the same nature (attitude toward superiors and colleagues), the appellant could understand…