If the island?s legislature doesn?t act in the next two years, same-sex couples can register their marriages with the authorities, the constitutional court said.