Facts
The appellant, [A.] , holds a licence in sociology and a half-licence in psychology. Hired on 1 April 1988 by the Municipality of Lausanne (hereinafter: the municipality), she was appointed as a civil servant on 1 January 1990. From 1 January 1991, she held the position of investigator in the [Y.] Service, responsible in particular for determining and checking the elements taken into account in calculating supplementary benefits (PC).
From 1999 to 2003, her work was judged overall satisfactory by her hierarchical superior, [C.] , head of the supplementary benefits office. From 2004, the latter noted a clear decline in the quality of her work, awarding a sufficient rating in 2004 and an insufficient one in 2005. At the same time, the appellant's state of health was deteriorating; the medical adviser nevertheless confirmed her fitness for work (report of 15 December 2006).
On 15 June 2007, the appellant was heard in the context of a formal warning procedure within the meaning of art. 71bis RPAC, concerning eleven complaints (reliability of investigations, processing times, follow-up of pending matters, quality of written work, non-compliance with procedures, inability to work autonomously, rejection of criticism, etc.). A probationary period of six months was granted to her, with a threat of dismissal for just cause. The formal warning was notified to her on 21 June 2007. From 7 January 2008, she has been on sick leave and has not resumed work.
The assessment of the probationary period, on 28 March 2008, concluded that her performance remained insufficient. The municipality suspended the appellant from her obligation to work on 2 April 2008, while maintaining her salary. Seized of a request for an inquiry into mobbing (6 May 2008), the municipality refused to open the inquiry on 16 July 2008 and decided in principle to dismiss her. The Joint Commission considered the procedure disproportionate and suggested a transfer of the employee.
By decision of 26 September 2008, the municipality dismissed the appellant with effect from 31 December 2008, with a three-month notice period, pursuant to art. 70 RPAC. The Vaud cantonal court, after upholding the appeal in 2010 and annulling the dismissal, was quashed by the Federal Supreme Court on 7 February 2012 (8C_18/2011) for a new decision. A mediator appointed by the cantonal court found no mobbing but noted occupational distress in a context of fragile health.
After the investigation was resumed, the cantonal court dismissed the appeal and upheld the dismissal by substitution of grounds (judgment of 21 October 2015). The appellant lodges an appeal in public law matters seeking annulment of the dismissal, or in the alternative remittal. The municipality seeks dismissal of the appeal.
Central question: whether there were just grounds for dismissal within the meaning of art. 70 RPAC, in particular whether it was reasonable to require the continuation of the employment relationship, and whether the right to be heard, the prohibition of arbitrariness and the principle of proportionality were respected.
Considerations
As to admissibility, the dispute concerns public-law employment relations (art. 83 let. g FSCA). The challenge to the termination is of a pecuniary nature, so the exception does not apply. The amount in dispute reaches the threshold of CHF 15,000 (art. 51 para. 2 and 85 para. 1 let. b FSCA). The appeal is therefore admissible.
The Federal Supreme Court rules on the basis of the facts established by the lower authority (art. 105 para. 1 FSCA), unless those facts were established in a manifestly incorrect manner (arbitrariness within the meaning of art. 9 Cst.) or the law was violated (art. 95 FSCA). Appellate-style criticisms of the assessment of evidence are inadmissible. Just grounds for dismissal are governed by art. 70 RPAC: incapacity or insufficiency in the performance of the duties and circumstances making the continuation of the employment relationship contrary to good faith (para. 2). The prior formal warning is provided for by art. 71bis RPAC, and transfer to another position by art. 72 RPAC.
On the right to be heard (art. 29 para. 2 Cst.), the appellant complains that the cantonal court did not inform her of its substitution of grounds. The Federal Supreme Court examines this complaint freely. The judge does not have to submit legal principles to the parties for discussion, except where he bases his decision on a provision or ground never raised and whose relevance the parties could not have anticipated. In this case, art. 70 para. 2 RPAC had been recalled in the remittal judgment of 7 February 2012, so the appellant had to anticipate its application. Moreover, the legal assessment in the remittal decision binds the Federal Supreme Court and…