Human Rights Watch said Tuesday Israel had stripped nearly 15,000 Palestinians from occupied Jerusalem of their right to live in the city since 1967 and warned that it could be a “war crime.”

“Israel claims to treat [occupied] Jerusalem as a unified city, but the reality is effectively one set of rules for Jews and another for Palestinians,” Sarah Leah Whitson, HRW’s Middle East director, said in a report.

Israel occupied east Jerusalem during the 1967 Six Day War in a move never recognised by the international community.

The more than 300,000 Palestinians there have permanent residency status.

While occupied east Jerusalem residents are allowed to apply for citizenship, most do not as they view it as recognition of Israeli sovereignty.

Since 1967, 14,595 Palestinians have had their residence status revoked, effectively barring them from remaining in the city of their birth, the HRW report said citing interior ministry figures.

The majority of these revocations were due to spending periods of time out of the city, with Israel arguing their “centre of life” was not in occupied Jerusalem.

“Residency revocations often effectively force Palestinians from [occupied] east Jerusalem, who are protected by virtue of Israel’s occupation under the Fourth Geneva Convention, to leave the territory they live in,” the Human Rights Watch report said.

“Deportation or forced transfers of any part of the population of an occupied territory could amount to war crimes.”

The Israeli interior ministry spokeswoman could not immediately be reached for comment.

The report comes two days after an Israeli court decided to strip Alla Zayud of his citizenship after he carried out an attack.

Zayud was convicted on four counts of attempted murder after driving a car into Israeli soldiers and stabbing civilians in October 2015. He was sentenced to 25 years in jail.

Palestinians in 1948 areas are full citizens of Israel and the Adalah rights group said it was the first ruling of its kind.

Omar Shakir, HRW’s director for Israel and the Palestinian territories, told AFP the decision to revoke Zayud’s nationality “would render him stateless, in violation of Israel’s obligations under international human rights law.”