Facts

The appellant, [A.] , worked as a journalist before being hired on 15 October 2002 by the Office [B.] as a socio-professional editor, then as project manager from 1 March 2003. He was insured for occupational pension provision with the Caisse de prévoyance du personnel de l'instruction publique et des fonctionnaires de l'administration du canton de Genève (the CIA, which became the Caisse de prévoyance de l'Etat de Genève on 1 January 2014). He resigned with effect from 31 March 2004, received unemployment insurance benefits within a framework period from 1 April 2004 to 31 March 2006, and then joined the Caisse de Pensions en faveur de Journalistes (the CPJ) on 1 July 2004 in order to resume self-employed activity.

He suffers from bipolar disorder which caused total or partial incapacity for work in 2003 and 2004. He filed an application with the disability insurance office of the canton of Geneva (the DI office) on 19 July 2007. By decisions of 12 September and 23 October 2008, confirmed after revision on 12 October 2009, the DI office awarded him a quarter disability pension from 1 August 2005 to 31 August 2006, then a full pension from 1 September 2006.

The CPJ and the CIA denied any entitlement to benefits in 2008 and 2009. The Swiss Foundation of the Social Partners for the substitute institution under Article 60 OPA (the OPA Substitute Institution Foundation) accepted its competence and recognised the right to a full pension.

By action of 6 November 2009, the appellant sued the three institutions before the Geneva Cantonal Court of Social Insurance. By judgment of 17 November 2011, the Court of Justice dismissed the claim against the CIA and ordered the CPJ and the OPA Substitute Institution Foundation to pay benefits. By decision of 18 February 2013, the Federal Supreme Court upheld the CPJ's appeal (9C_59/2012), criticising the cantonal court for not examining with which institution the person concerned was insured at the time the incapacity for work arose, and remitted the case.

By judgment of 18 December 2014, the Court of Justice dismissed the claim against all the institutions, holding that the incapacity for work underlying the disability had already arisen in 2002, before the pension relationships with the defendant institutions, and that there was an uninterrupted temporal connection.

The appellant lodges an appeal in public law matters and seeks annulment of the judgment and, in substance, payment of benefits by the CIA as principal relief or by the CPJ as subsidiary relief. The Caisse de prévoyance de l'Etat de Genève and the CPJ seek dismissal of the appeal. The OPA Substitute Institution Foundation and the Federal Office of Social Insurance have waived submitting observations.

Considerations

The Federal Supreme Court examines the law of its own motion (Art. 106 para. 1 FSCA), but is limited to the grievances raised and bases its reasoning on the facts established, unless they were established in a manifestly inaccurate manner or in breach of the law (Art. 105 para. 2 FSCA). The dispute concerns the pension fund with which the appellant was insured at the time the incapacity for work underlying the disability arose. According to Art. 23 OPA, benefits are due from the institution to which the person concerned is or was affiliated at the occurrence of the insured event, namely the incapacity for work and not the accrual of the right to a DI pension (ATF 123 V 262 consid. 1b).

For an institution to remain liable after the termination of the pension relationship, the incapacity must have begun during affiliation and there must be a material and temporal connection between that incapacity and the disability (ATF 130 V 270 consid. 4.1; ATF 138 V 409 consid. 6.2). The temporal connection is interrupted if the insured person was again capable of working for a long period, assessed in light of all the circumstances (nature of the impairment, prognosis, reasons for resuming or not resuming an activity, conduct on the labour market). By analogy with Art. 88a para. 1 DI Ordinance, an earning capacity of at least three months without significant interruption constitutes a strong indication of interruption, unless it is an attempt at reintegration or an activity arising from social considerations of the employer (ATF 134 V 20 consid. 3.2.1). A work capacity of at least 80% in an adapted activity is necessary to find an interruption (judgment 9C_98/2013 consid. 4.1).

As regards the existence of a significant incapacity despite the salary received, the Federal Supreme Court reviews the question freely. A deterioration in performance must emerge from concrete circumstances (drop in output, warnings, frequent absences); a retroactive medical-theoretical incapacity is not sufficient. The employment contract and the salary paid are in principle determinative, and particular circumstances may only be accepted with extreme reserve (judgment B 95/06 consid. 3.3).

The cantonal court had found that the incapacity underlying the disability arose in spring 2002, before the engagement with the Office [B.] , and that there was a temporal connection, the appellant's activity from December 2002 to August 2003 having been characterised as a mere attempt at reintegration, in view of the persistent instability of mood and the initial rate of 70%. It had also held that the activities of 2006…