6.  The applicant was born in 1955 and lives in Pozuelo de Alarcón (Madrid). 7.  The applicant cohabited with another man in a homosexual relationship from 1990 until the latter’s death on 2 July 2002. During that period they lived together in an apartment belonging to the applicant’s partner. When his partner died, the sister and only heir of the applicant’s partner gave the applicant, because of the relationship he had had with her brother, an apartment that had belonged to the applicant’s late partner and in which the couple had spent their holidays together since 1990. 8.  On 19 September 2003 the applicant claimed social security allowances as a surviving spouse, under section 174 (1) of the General Social Security Act, arguing that he had cohabited with his deceased partner for many years. 9.  On 22 September 2003 the National Institute of Social Security (Instituto Nacional de la Seguridad Social, hereafter referred to as “INSS”) refused to grant the applicant a survivor’s pension on the ground that since he had not been married to the deceased person, he could not legally be considered as his surviving spouse for the purposes of section 174 (1) of the General Social Security Act. That decision was formally served on 13 June 2005. 10.   On 1 July 2005 Law no. 13/2005 amending the provisions of the Civil Code with respect to the right to enter into marriage was passed. Two days later it entered into force. This law legalised same-sex marriage in Spain. In accordance with its first additional provision all legal and regulatory provisions making reference to marriage should be understood thereafter as applicable to all marriages irrespective of the sex of its members (see paragraph 35 below). 11.  On 5 July 2005 the applicant filed an administrative complaint against the decision of 22 September 2003. This complaint was dismissed by the INSS on 11 August 2005. The INSS noted that there was no provision in the legislation in force that allowed, for the purposes of social security rights, the person who had been cohabiting with the deceased to gain the status of a widower. 12.  On 26 September 2005 the applicant challenged that decision before the Madrid Social Tribunal no. 33 (“the Social Tribunal”). 13.  In a judgment of 14 November 2005 the Social Tribunal ruled for the applicant. The Social Tribunal firstly outlined that the facts of the case had to be assessed in the light of the newly enacted Law no. 13/2005, which was already in force and deemed constitutional by the tribunal. As to the merits, the Social Tribunal observed that the issue at stake was whether the applicant, as the surviving partner of a same-sex relationship that ended (following his partner’s death) before the entry into force of Law no. 13/2005, had the right to a survivor’s pension. The Social Tribunal then reiterated that, according to the well-established domestic case-law, surviving partners of unmarried couples were not entitled to a survivor’s pension under section 174 of the General Social Security Act, marriage being a constitutive element to access any such social-security benefit; that the applicant had been prevented from marrying his partner because same-sex marriage had not been recognised in domestic law at the time his partner died; that the social security administration had relied on the fact that the couple had not married to refuse the applicant a survivor’s pension; and that it was evident that after the entry into force of Law no. 13/2005, surviving spouses of same-sex marriages were entitled to survivors’ pensions on the same footing as survivors of different-sex marriages. 14.  The Social Tribunal was of the view that the solution to the legal issue raised by the applicant’s case depended on whether it could be inferred from Law no. 13/2005 that Parliament’s intention had been that surviving partners of same-sex couples who had been prevented from marrying under the former legislation could access a survivor’s pension on a similar footing to same-sex couples who could marry after the entering into force of that Act. The Social Tribunal drew attention in this regard to the provisions and the explanatory memorandum of Law no. 13/2005 to contend that this new legislation had a very strong egalitarian purpose, and that from the date it entered into force, that is to say 3 July 2005, all legal provisions concerning marriage should be interpreted on the basis of the first additional provision of Law no. 13/2005 as applying fully to same-sex marriage (see paragraph 35 below). The Social Tribunal held in this regard that:
“This is a wide-ranging provision which affects all the other provisions of the legal system making reference to marriage. From now onwards all references to marriage established in the law shall be understood as applying also to marriage celebrated between two persons of the same sex. Accordingly, whoever shall be called to interpret or apply any marriage-related provision should do so in egalitarian terms without taking into consideration whether the spouses are of the same or different sex”. 15.  The Social Tribunal further recalled that additional provision no. 10 (2) of Law no. 30/1981 of 7 July 1981 amending the provisions of the Civil Code pertaining to marriage and the procedure to be followed for cases of annulment, judicial separation and divorce, recognised the right to obtain a survivor’s pension for individuals who had been prevented from marrying a person who later died by the legislation in force until then, provided that he or she had cohabited in a relationship similar to marriage with the deceased person and that the deceased had died before Law no. 30/1981 entered into force. 16.  The Social Tribunal stressed that such a provision was included in order to provide a solution for those cohabiting couples consisting of a man and a woman who could not have married under the legislation in force until that time, and thus did not qualify for a survivor’s pension, because one or even both of them had still been married to another person whom they had been prevented from divorcing, divorce having been legally impossible in Spain until the passing of Law no. 30/1981. The Social Tribunal considered that the applicant’s circumstances were “fully comparable” to those outlined in additional provision no. 10 (2) of Law no. 30/1981 in so far as:
“- the claimant could not marry his partner because the legislation then in force prevented him from doing so;
- the claimant had shared a marital life with his partner until the latter’s death;
- the latter’s death had taken place before the entry into force of Law no. 13/2005” 17.  The Social Tribunal acknowledged, however, that whereas Law no. 30/1981 was aimed at protecting the rights of those cohabiting heterosexual couples who were prevented from marrying because divorce was prohibited at the time, Law no. 13/2005 was aimed at protecting the rights of those who could not marry on account of their sexual orientation, and that this distinction was the main impediment to the recognition of the applicant’s right to a survivor’s pension. 18.  The Social Tribunal considered nonetheless that treating these two groups differently would not be in harmony with the strong egalitarian intention expressed by Parliament with the passing of Law no. 13/2005 and that, accordingly, additional provision no. 10 (2) of Law no. 30/1981 was applicable to the applicant by force of additional provision no. 1 of Law no. 13/2005. The Social Tribunal stated as follows:
“Therefore, the interpretation that in my opinion better fits the legislature’s intention is the following:
- If the first additional provision of Law no. 13/2005 sets out that provisions making reference to marriage shall apply irrespective of the sex of the spouses,
- And one of [these provisions], currently in force to provide access to a survivor’s pension, is additional provision no. 10 (2) of Law no. 30/1981.
- The only method to apply it in a way which is consistent with the egalitarian intention of the legislature is to do so irrespective of the sexual orientation of the members of the cohabiting couple.
- In order to ensure that sexual orientation does not constitute discriminatory grounds in the application of additional provision no. 10 (2) of Law no. 30/1981, the right thereby recognised shall currently be interpreted as providing a solution to factual situations such as the one in the instant case in which the impediment to access to a survivor’s pension is no other than the sexual orientation [of the claimant].” 19.  As regards the administration’s submission that in the area of social security benefits the governing principle was that of non-retroactivity of laws and that according to the law in force at the time the applicant’s partner died the former did not qualify for a survivor’s pension because they were not married, the Social Tribunal was of the view that this general principle was not absolute and that it did not apply where there was a specific rule giving retroactive effect to laws more favourable to the citizens, as is true of the instant case. Thus, additional provision no. 10 (2) of Law no. 30/1981 should be read in the light of the first additional provision of Law no. 13/2005. 20.  As to the degree of retroactivity that should be given to additional provision 10 (2) of Law no. 30/1981 in the applicant’s case, the Social Tribunal relied on the constitutive effects of Law no. 13/2005 which created new rights and was effective only from the date it entered into force. Accordingly, the Social Tribunal recognised the applicant’s right to be awarded a survivor’s pension with effect from 3 July 2005. 21.  The INSS and the Treasury General of Social Security appealed (recurso de suplicación) against that judgment to the Madrid High Court of Justice (Tribunal Superior de Justicia). 22.  On 18 September 2006 the Madrid High Court of Justice upheld the appeal and reversed the first-instance judgment. The court found that the legislature had not intended Law no. 13/2005 to cover same-sex partnerships which had been ended by the death of one of the partners before said law had entered into force and that the lack of protection of these unions could not be considered discriminatory in the light of Article 14 of the Spanish Constitution. 23.  For the court, it was only as from the entry into force of Law no. 13/2005 that marriage between same-sex couples was recognised and that this law affected other rights for those persons who would wish to marry thereafter. Hence, the court was of the view that Law no. 13/2005 had no retroactive effects, except as otherwise expressly provided, which was not the case at hand. 24.  The court further stated that even though Law no. 13/2005 had been inspired by the constitutional principle of equality, prior legislation preventing same-sex marriage could not be deemed unconstitutional as contrary to either any constitutional principle or to the right not to be discriminated against. The court referred to constitutional case-law dating from 1994 according to which the requisite of heterosexuality for the purposes of marriage was fully constitutional and that it was within the margin of appreciation of the public authorities to treat heterosexual marriages more favourably than homosexual partnerships. In this connection, the court maintained that despite the reference in the preamble of Law no. 13/2005 (see paragraph 35 below) to the discriminatory treatment to which homosexuals had traditionally been subjected on account of their sexual orientation, the aim of Parliament in passing that law was merely to respond to a new social reality and award homosexuals the right to marry, but not to protect same-sex partnerships which had already ended before its enactment. 25.  The court referred to constitutional case-law according to which a difference in legal treatment of individuals due to subsequent changes in the law does not necessarily entail discrimination, even if those persons could be said to be in similar circumstances. Given the complexity that a change in legislation might involve, it was for Parliament to establish the characteristics of the legal transition, either by introducing retroactivity clauses or by restricting the application of the new legislation to circumstances arising after its entry into force. 26.  The court noted in this regard that Law no. 13/2005 had not included any provision concerning same-sex partnerships which had already ended at the time of its entry into force and that it strictly concerned same-sex couples still in existence at that time and who would be willing to enter into marriage. The court considered that the difference between the situations before and after the passing of Law no. 13/2005 was essentially an expression of the principle of succession of laws without constitutional implications as regards the right not to be discriminated against. 27.  As regards the applicability to the present case of additional provision no. 10 (2) of Law no. 30/1981, the Madrid High Court of Justice found that this provision was not applicable to the applicant’s case for two main reasons. Firstly, that provision could not be considered as among the provisions to which the first additional provision of Law no. 13/2005 referred. Additional provision no. 10 (2) was, as the Constitutional Court had established, of a provisional or transitory nature and had been envisaged for those specific cases in which one of the partners had died before the entry into force of Law no. 30/1981. It had not been intended to govern future situations. Secondly, that provision had been envisaged for a totally different situation from that of the applicant. Additional provision no. 10 (2) of Law no. 30/1981 was aimed at guaranteeing a survivor’s pension to those heterosexuals who had been prevented from marrying their out-of wedlock partner because divorce had not been legal at the time of the latter’s death. The inability to remarry for those affected by additional provision no. 10 (2) of Law no. 30/1981 was based on the fact that divorce was not permitted at the time. The institution of marriage was open to them in their capacity as heterosexuals. On the contrary, same-sex couples were absolutely prevented from marrying before Law no. 13/2005 since the institution of marriage was until then restricted to heterosexual couples. 28.  Furthermore, the court contended that the applicant could never have fulfilled the more uxorio marital cohabitation requirement established by additional provision no. 10 (2) of Law no. 30/ 1981 of, because only those who were in principle eligible for marriage but had been prevented from marrying for whatever reason could qualify for de facto marital cohabitation. The applicant and his partner could have never cohabited “as if married” before the entry into force of Law no. 13/2005, because before then they were ineligible for marriage as they were both male. 29.  The applicant lodged an appeal on points of law seeking harmonisation of the case-law (recurso de casación para la unificación de doctrina). In a decision of 27 June 2007, the Supreme Court (Social Chamber) declared the appeal inadmissible on the ground that the decision produced for purposes of comparison, specifically a judgment of the High Court of Justice of the Canary Islands of 7 November 2003, was not relevant. That decision was served on 26 July 2007. 30.  Relying on Articles 14 (principle of equality and prohibition of discrimination) and 24 § 1 (right to effective judicial protection), the applicant lodged an amparo appeal with the Constitutional Court. In a decision of 11 February 2009, served on 17 February 2009, the Constitutional Court declared the appeal inadmissible on the grounds that the applicant had failed to substantiate the special constitutional relevance of his complaints.