The New York Court of Appeals on Thursday affirmed the recognition of same-sex marriages by a county executive and a state agency, but by a bare 4-3 margin declined to extend full New York recognition to such marriages contracted in other states and countries where they are legal.

Rather, the four-judge majority importuned the Legislature to decide the question, as it did in 2006 when the court decided that same-sex couples have no constitutional right to wed within the state but left open the status of same-sex marriages contracted outside the state.