sentences:  In June 2012, a judicial court in Uruguay granted recognition to a same-sex marriage licensed in Spain, creating a paradoxical situation, in which Uruguay recognizes same-sex marriages established in any country but Uruguay, and Uruguayans who marry elsewhere can petition a judge to recognize their marriage under Uruguayan law.The court also held that local laws permit same-sex marriage, even if they do not say so explicitly.The ruling was appealed, however, and rendered moot when Uruguay's same-sex marriage law went into effect.