Poland does not legally recognize same-sex unions, either in the form of marriage or civil unions. In 2012, the Supreme Court ruled that same-sex couples have limited legal rights in regards to the tenancy of a shared household. A few laws also guarantee certain limited rights for unmarried couples, including couples of the same sex. Same-sex spouses also have access to residency rights under EU law. Article 18 of the Polish Constitution, adopted in 1997, was frequently interpreted as banning same-sex marriage, but the latest (2019) court ruling states that it does not preclude their existence. Unregistered cohabitation While Poland does not have a specific law on cohabitation, there are some provisions in various legal acts or Supreme Court rulings that recognise relations between unmarried partners and grant them specific rights and obligations. For example, Article 115(11) of the Penal Code () uses the term "the closest person", which covers romantic relations that are not legally formalised. The status of "the closest person" gives the right of refusal to testify against the partner. The term "partner" is not explicitly defined. A March 2016 landmark decision of the Supreme Court regarding same-sex partners' rights confirmed that the wording also includes same-sex partners. Other laws also provide limited recognition for same-sex couples. For instance, since 2004, when one partner is entitled to social benefits, the income of the other partner is also taken into consideration. Under Article 6.14 of the Social Aid Act of 12 March 2004 (), entitlement to social benefits is dependent on the income per person in a family. The term "family" is used in the act to refer to people who are married, in a de facto partnership, living together and have a common household. Since 2008, if one partner suffers an accident or is seriously ill, the other partner is considered as a next of kin for medical purposes. Under Article 3.1(2) of the Patients' Rights Act of 6 November 2008 (), the definition of "next of kin" () includes a "person in a durable partnership" (). A resolution of the Supreme Court from 28 November 2012 (III CZP 65/12) on the interpretation of the term "a person who has lived actually in cohabitation with the tenant" was issued with regard to the case of a gay man who was the partner of a deceased person, the main tenant of the apartment. The Court interpreted the law