The Supreme Court on Thursday sided with New York City in its efforts to collect property taxes from the governments of India and Mongolia.

In a 7-2 decision, the justices said U.S. courts have jurisdiction to decide the dispute. New York City is seeking $16.4 million from India and $2.1 million from Mongolia for those nations’ United Nations missions.