GENEVA, Switzerland – The UN human rights chief on Thursday slammed a bill in Israel that would legalize some 4,000 settler homes in the West Bank, saying it would clearly violate international law.

Israeli lawmakers voted Wednesday to advance the bill, which would legalize settler homes built on private Palestinian land.

“I strongly urge lawmakers to reconsider their support for this bill, which if enacted, would have far-reaching consequences and would seriously damage the reputation of Israel around the world,” said UN High Commissioner for Human Rights Zeid Ra’ad Al Hussein.

He pointed out that “in enabling the use of land privately-owned by Palestinians for Israeli settlements without the owners’ consent, this legislation would violate international law.”

“Israel, as the occupying power, must respect the private property of Palestinians, regardless of whether or not compensation is provided,” he said in a statement.

United Nations Human Rights chief Zeid Ra'ad Al Hussein (screen capture: YouTube/Nizar Abboud)

United Nations Human Rights chief Zeid Ra’ad Al Hussein (screen capture: YouTube/Nizar Abboud)

Some 400,000 Israeli settlers currently live in the West Bank, excluding annexed East Jerusalem, along with 2.6 million Palestinians.

The United States, UN officials and the European Union have warned that continued settlement building is eating away at the possibility of a two-state solution to the conflict.

The international community views the settlements as illegal under international law.

Israel differentiates between those it has authorized and those it has not. The bill would legalize nearly 4,000 settler homes built on private Palestinian land, according to settlement watchdog Peace Now.

Residents of the West Bank settlements of Ofra and Amona hold a demonstration demanding the approval of a bill legalizing West Bank outposts, near the Prime Minister's Office in Jerusalem, November 13, 2016. (Yonatan Sindel/Flash90)

Residents of the West Bank settlements of Ofra and Amona hold a demonstration demanding the approval of a bill legalizing West Bank outposts, near the Prime Minister’s Office in Jerusalem, November 13, 2016. (Yonatan Sindel/Flash90)

“All Israeli settlements — whether outposts built without formal approval but often with the support of the Israeli authorities and which are currently illegal under Israeli law, or settlements approved by Israel — are clearly and unequivocally illegal under international law and constitute one of the main obstacles to peace,” Zeid said.

“They are also the principal cause of a wide range of human rights violations inside the occupied West Bank, including East Jerusalem,” he charged.

Fifty-eight members of the Knesset voted Wednesday to approve the draft legislation in the first of three readings, while 51 were against it.