By a 6-to-5 vote, the Supreme Court late on Wednesday rejected petitions against the 2003 ban, which civil rights activists denounced as racist for potentially forcing members of Israel’s 20-percent Arab minority who wed Palestinians to emigrate.

Israel’s former centrist government championed the ban on security grounds given Palestinian gun and bomb attacks. However, the law has also strained ethnic ties in Israel, whose leaders have long sought to shore up majority Jews.

The Association for Civil Rights in Israel, one of four petitioning groups, accused the court on Thursday of yielding to “the tyranny of the Knesset (parliament) majority.”

Judge Asher Grunis, whose nomination as the court’s next president was welcomed by conservatives, voted to keep the citizenship law, saying in the ruling that rescinding it “would mean thousands of Palestinians entering the country after marrying Israeli citizens.”

“Human rights do not prescribe national suicide,” he wrote.

Such language echoed arguments that any influx of Palestinians — such as refugees from the 1948 war of Israel’s founding and their descendants — would spell “demographic suicide” for the Jewish state.

In 2005, then Justice Minister Tzipi Livni said demography was among considerations behind the citizenship law.

Grunis, however, framed his remarks around concern about infiltration by Palestinian militants. Dissenting, Supreme Court President Dorit Beinisch and four other justices described the freedom to marry as being at the heart of democratic principle.

“The blow, as presented, to family life must be viewed against the certain harm, given past experience, to the lives and bodies of Israelis,” Grunis wrote.

The judicial review was also watched closely after now-dominant rightist politicians pursued procedural changes that would have helped them to influence selection of Supreme Court judges. On the attorney-general’s advice, Prime Minister Benjamin Netanyahu blocked that legislation.

Normally Israel naturalizes the spouses of its citizens, though it sometimes offers as a stop-gap permanent residency, a similar status but without the right to vote. Many Palestinians see economic opportunity in being an Israeli citizen, as well as access to health and other state benefits.

Saswan Zaher, a lawyer for the Israeli Arab lobby Adalah, another petitioner, said in a radio interview that the ruling showed “the country is interfering in the choosing of spouses.”

Israeli law guarantees full civil rights, including political representation, to Arab citizens, who are mostly Muslim. But they often complain of entrenched racism.

Many Israeli Jews have been outraged by pro-Palestinian displays among their Arab compatriots, especially given the rise of hostile Hamas Islamists in Gaza and stalled peace talks with the secular Palestinian leadership in the occupied West Bank.