Facts

The appellant [A.] was hired from 1 February 1991 by the Canton of Vaud as a secretary within Department [B.] , Service [C.] . He was promoted to head of office B from 1 April 1992, then to head of office A from 1 February 1993, a status confirmed by an administrative law contract of indefinite duration concluded on 30 January 2003.

In 1999, [D.] became deputy head of Service [C.] and relations with the appellant proved conflictual. The appellant had the responsibility for accounts receivable withdrawn from him. Seized by the appellant in 2000, the [E.] group had a mediation protocol signed on 4 July 2001, with which the parties declared themselves satisfied in September 2001. The appellant also lost responsibility for accounts payable in 2004 and for the insurance office in 2006, and again seized the [E.] group in 2006 and 2008.

In April 2009, [D.] asked the appellant to initiate debt enforcement proceedings against a debtor of the State. In October 2010, he learned that no enforcement proceedings had been initiated. On 1 November 2010, the appellant was confronted with three options: an administrative inquiry, dismissal for good cause, or resignation. A medical certificate attested to total incapacity for work from the following day. An administrative inquiry entrusted to a former cantonal judge was opened, after which the appellant was dismissed with immediate effect on 4 February 2011 for breach of the relationship of trust. A total disability pension was granted to him from 1 February 2011 by the Vaud State Pension Fund.

The appellant brought an action before the Labour Court of the cantonal administration (TRIPAC), seeking a declaration of nullity of the dismissal and payment of compensation for abusive dismissal, loss of pension benefits and prejudice linked to disability. By judgment of 29 October 2015, TRIPAC declared the dismissal decision null, the employment ending ex lege on 1 February 2011, and held that the appellant had been the victim of psychological harassment. It awarded 692,157 CHF with accessories as compensation for loss of earnings and direct loss of old-age pension, as well as 20,000 CHF for moral damage.

On appeal by the Canton of Vaud, the Civil Court of Appeal of the Vaud Cantonal Court, by decision of 28 June 2016, annulled items III, IV and VIII of the TRIPAC judgment, namely the compensation and costs awards, and provisionally left the costs payable by the State. The appellant lodges a public law appeal before the Federal Supreme Court, seeking recognition of his claims and, in the alternative, remittal of the case, and requests legal aid. The respondent asks for the appeal to be dismissed.

Considerations

The public law appeal is admissible under art. 83 let. g FSCA, the amount in dispute far exceeding the threshold of 15,000 CHF (art. 51 para. 2 and 85 para. 1 let. b FSCA). The Federal Supreme Court applies the law of its own motion but reviews facts only if they were established in a manifestly incorrect manner (art. 105 para. 2 FSCA), a notion corresponding to arbitrariness (art. 9 Cst.). It does not enter into purely appellate criticisms.

In the first place, the appellant contests the admissibility of the appeal, the power of attorney having been produced out of time and emanating from an employee of the Legal and Legislative Service. The cantonal court accepted the validity of this power of attorney, which was broad and granted by a department head holding a delegation from the Conseil d'Etat, and held that inadmissibility would constitute excessive formalism (art. 132 CPC, art. 52 CPC, art. 29 para. 1 Cst.). The appellant does not contest the granting of a grace period and does not criticise the reasoning based on excessive formalism; the complaint is therefore inadmissible for lack of sufficient reasoning (art. 42 para. 2 FSCA).

Next, the appellant invokes a violation of his right to be heard (art. 29 para. 2 Cst., art. 152 CPC) on account of the failure to hear four witnesses and his own person. The right to evidence presupposes in particular the relevance of the fact and the necessity of the means; the judge may dispense with evidentiary measures by non-arbitrary anticipatory assessment. The cantonal court held that the testimonies had already been collected by TRIPAC and that the appellant did not explain the usefulness of a new hearing, referring to case law (decision 4A_238/2015). The complaint is manifestly unfounded.

As regards…