Facts

The appellant, born in 1950, worked successively for several companies and was insured for occupational pension with the Pension Fund of the [K.] Group companies, in liquidation since June 2009, linked to a collective life insurance contract with ELVIA Vie (now Allianz Suisse, Société d'Assurances sur la Vie SA). The Federal Supreme Court ordered the re-registration of the foundation in the commercial register on 19 December 2013.

The appellant first applied for benefits from the IV office on 10 February 1999, for an incapacity for work that began on 12 September 1996. The employment relationship was dissolved on 31 May 1999. On 27 April 1999, the employer proposed to continue paying the premiums (employer share) in order to avoid a reduction in coverage, until the taking up of employment or until the decision of the disability insurance, provided that the appellant assumed the employee share. The appellant accepted.

The IV office refused benefits on 21 January 2002, confirmed by the cantonal court (26 October 2004) and then by the Federal Supreme Court (I 86/05 of 29 August 2006). A new application was rejected on 18 August 2008, then annulled by the cantonal judge on 24 February 2010. A new expert assessment led the IV office to admit an aggravation whose occurrence was set in January 2004, with a full pension from 1 January 2005 (decision of 18 October 2011).

On 5 December 2014, the appellant brought an action for payment before the Geneva Court of Justice (Social Insurance Chamber) against the pension institution, claiming a disability pension from 1 January 2008 as well as payments into his occupational pension account. The cantonal court dismissed the action on 29 May 2017.

The appellant lodged a public law appeal before the Federal Supreme Court, principally seeking annulment of the cantonal judgment and admission of his claims, subsidiarily referral of the case back. The pension institution requests dismissal. The Federal Social Insurance Office waived submitting observations.

Main question: was the appellant still insured with the pension institution at the time of the occurrence of the incapacity for work or of the disability?

Considerations

The appeal, filed within the statutory time limit (evidence by witness inscribed on the envelope), is admissible. The Federal Supreme Court applies the law of its own motion (art. 106 para. 1 FSCA) and may review the facts only if they were established in a manifestly inaccurate manner or in violation of the law (art. 97 para. 1 FSCA). The dispute concerns whether the appellant was insured at the time of the occurrence of the incapacity for work (art. 23 let. a OPA).

As to the date of occurrence of the incapacity for work, the pension institution which adopts the notion of disability from the IV is in principle bound by the IV's assessments, including the date of the aggravation, unless these elements are manifestly untenable. However, since the foundation did not take part in the IV proceedings, it is not bound and may depart from them if it considers the result untenable. The lower court judges could therefore carry out a new assessment of the evidence. They followed the earlier judgments and held that there was no disabling impairment in 2002, then an incapacity from January 2004. The private report of Dr [J.] has already been set aside by the Federal Supreme Court in judgment 9F_4/2009 as relying on subsequent elements. No arbitrary assessment is therefore demonstrated. The start of the incapacity dates back to January 2004 and the potential right to a pension to 1 January 2005.

As to the termination of the insurance relationship, the agreement of 27 April 1999 must be interpreted according to the general rules on contracts (art. 18 para. 1 CO): search for the real and common intention, then objective…