The U.S. Supreme Court Monday sided with the president in a long-running struggle with Congress over who controls recognition of foreign countries and what information about nationhood can be put on the passports of American citizens.

In a 6-to-3 decision, the high court struck down a law requiring the State Department to indicate on passports that the city of Jerusalem is part of Israel. The decision was a blow to the pro-Israel lobby and to congressional power over certain parts of foreign policy.

Since the founding of Israel in 1948, the U.S. has taken the position that Jerusalem is not considered part of any country until its status is negotiated in a Middle East peace deal. Israel's supporters in Congress, however, have tried to force a different policy, seeking to move the U.S. Embassy from Tel Aviv to Jerusalem and requiring, as a matter of law, that the State Department allow U.S. citizens born in Jerusalem to list Israel as their place of birth on their passports.

The Bush and Obama administrations both refused to comply with the passport mandate, contending that it unconstitutionally infringed on the president's foreign policy powers.

Menachem Zivotofsky was born in Jerusalem 12 years ago to American parents who emigrated to Israel and now maintain dual citizenship. The Zivotofskys wanted their son's place of birth on his passport to say Israel, not just Jerusalem, and they sued to force the State Department to comply with the federal law that would have done that.

The case went twice to the Supreme Court. In the first round, the court held that courts had the authority to hear the case, but left it to lower courts to make a decision. The second time around, however, the justices did something they have never done before: They struck down a law passed by Congress in the field of foreign affairs. The court majority agreed with the president — that the power to recognize foreign countries lies "exclusively" and "conclusively" with the executive branch.

"Put simply, the Nation must have a single policy regarding which governments are legitimate in the eyes of the United States and which are not," Justice Anthony Kennedy wrote for the majority. Recognition is a topic on which the nation must speak "with one voice," and "that voice must be the President's."

The decision was greeted with dismay by Israel's supporters.

"I think this is a very, very wrong decision," said Eliot Engel, ranking Democrat on the House Foreign Affairs Committee and a leading sponsor of the Jerusalem passport law.

The New York congressman saw no way around the decision. "The decision pretty much ends this dispute," he said. "I don't know that there's much we can do right now."

Engel noted that presidents of both parties have taken the position that prevailed in the Supreme Court, while large bipartisan majorities in Congress have disagreed.

In light of that, suggests law professor Justin Levitt of Loyola Law School in Los Angeles, the decision might have political consequences.

"I would expect some of these groups that have historically lobbied for Israel to try and make that a significant campaign issue in the upcoming campaign," he said.

Inside the foreign policy community, though, there was clear relief. While one word on a passport may seem insignificant, it is not, especially in the Internet age, said John Bellinger, former legal adviser for the National Security Council and the State Department.

"When this provision was originally passed, there were protests in the Middle East that Congress was trying to require the United States to recognize Jerusalem as part of Israel," Bellinger said.

Harvard law professor Jack Goldsmith, who served as head of the Justice Department Office of Legal Counsel in the George W. Bush administration, sees Monday's victory as more than symbolic.

"It's a big precedent for presidential power generally in the context of foreign relations," Goldsmith said.

Richard Haass, president of the Council on Foreign Relations, served in top policy positions for Presidents Reagan, Carter and both Presidents Bush. While Congress and the president play a role in foreign policy, he said, there are places in the Constitution that forbid one to step on the toes of the other.

"In this case, essentially, the court ruled that Congress had gone too far, was overreaching," Haass said. "But nothing in this resolves the long-term tension between the two branches."

Haass, like many others, also noted what he called the "curious" composition of justices in majority and dissent Monday.

Justice Kennedy's majority opinion on the Jerusalem law was joined by the court's liberals, including the court's three Jewish Justices — Ruth Bader Ginsburg, Stephen Breyer, and Elena Kagan — as well as Justice Sonia Sotomayor.

It was also joined, in part, by the court's most conservative justice, Clarence Thomas. The three dissenters all served in Republican administrations and often spoke out in favor of pre-eminent executive branch powers, especially in the area of foreign policy. But here, they took the opposite view.

Justice Antonin Scalia wrote the principal dissent, underlining his strong feelings with an oral dissent from the bench.

"The tragedy of today's decision is not its result," he said. "It is no great loss to the country. ... It instead comes down to the court's perception that the nation must have a single policy about the status of Jerusalem.

"Who says so?" he asked, as he looked out over the Supreme Court chamber. A single foreign policy may prove efficient, he intoned, but "will systematically favor the president at the expense of Congress."

Joining Scalia's dissent were Chief Justice John Roberts and Justice Samuel Alito. Roberts had written the court's decision three years ago, rejecting the notion that this dispute was a political question that the courts should stay out of. But on Monday, in a full-throated separate dissent, he accused the majority of resolving an issue it didn't have to.

"It has not been necessary over the past 225 years to definitively resolve a dispute between Congress and the President over the recognition power," Roberts wrote.

Copyright 2016 NPR. To see more, visit http://www.npr.org/.