Facts
The appellant, an insured person, had been receiving a full disability pension since 1 January 1998, granted by decision of the IV office for the canton of Vaud (the IV office) of 26 July 1999 on account of recurrent depressive disorder and painful somatoform disorder. The pension had been confirmed during reviews in 2000, 2005 and 2009.
In the course of a new review, the IV office obtained opinions from specialist physicians (rheumatology and psychiatry) as well as from the Regional Medical Service (SMR). It found full work capacity from a rheumatological standpoint, subject to certain functional limitations, and no psychiatric limitation. Relying on the final provisions of the amendment of 18 March 2011 (6th IV revision, first part), it suppressed the pension by decision of 16 January 2013.
The Cantonal Court of the canton of Vaud, Social Insurance Court, dismissed the appeal by judgment of 13 April 2015. It held that the depressive state had given way to dysthymia without incapacity for work, justifying an ordinary review within the meaning of Art. 17 GSSLA, even though the initial decision did not address this point. It thus substituted the grounds, applying Art. 17 GSSLA in addition to let. a para. 1 of the final provisions, without the parties having been able to comment on this question.
The appellant lodges a public law appeal with the Federal Supreme Court. She primarily requests that the case be remitted to the cantonal court so that it may rule on the review of the pension, and in the alternative that the judgment be reformed by finding that the suppression of the pension was unlawful. She invokes breach of the principle of equality of arms (Art. 6 para. 1 ECHR), the right to be heard (Art. 29 para. 2 Cst.), and in the alternative an erroneous application of Art. 17 GSSLA. The respondent office requests dismissal of the appeal. The Federal Social Insurance Office waived its right to submit observations.
The dispute concerns the suppression of the appellant's right to a disability pension as of 1 March 2013.
Considerations
The Federal Supreme Court reviews the appeal from the standpoint of violation of law (Art. 95 and 96 FSCA), applies the law of its own motion (Art. 106 para. 1 FSCA) and relies on the facts established by the lower court (Art. 105 para. 1 FSCA), subject to the exceptions of Art. 105 para. 2 FSCA.
The main complaint, based on breach of equality of arms, amounts in this case to a breach of the right to be heard guaranteed by Art. 29 para. 2 Cst. This right includes in particular the right to express one's views before an unfavourable decision is taken and to submit evidence. It must be respected where the authority intends to base its decision on a legal norm or ground not raised in the prior proceedings, whose relevance the parties could not have anticipated.
A substitution of grounds is admissible in principle where the review within the meaning of Art. 17 GSSLA and the examination of the entitlement to a pension under let. a para. 1 of the final provisions of the 6th IV revision, as well as reconsideration within the meaning of Art. 53 para. 2 GSSLA, constitute different legal grounds concerning the same subject matter of the dispute, namely the modification of the entitlement to a pension. However, where the cantonal court intends to replace or supplement its reasoning with a review under Art. 17 GSSLA when the matter was not examined from that angle in the administrative proceedings, it must inform the parties thereof. Indeed, the facts underlying a review within the meaning of Art. 17 GSSLA are not identical to those justifying a new examination under let. a para. 1 of the final provisions, which allows…