A New York court says the state must recognize same-sex marriages from other states.