Up until 2015, France refused to recognise surrogate children as French citizens. This left many such children in legal limbo. On 5 July 2017, the Court of Cassation ruled that a child born to a surrogate abroad can be adopted by the partner of his or her biological father. That same year, the Tribunal de grande instance de Paris granted French citizenship to twin boys born through surrogacy in Ontario, Canada to a same-sex couple (both French citizens). However, it refused to register the children in the vital records. In May 2019, the Court of Appeal of Paris reversed certain parts of the decision, holding that the Canadian birth certificate must be recognised by the French state. In December 2019, the Court of Cassation ruled that foreign birth certificates that recognise same-sex partners must be fully recognised in France.