https://www.gatestoneinstitute.org/16032/israel-settlements-not-illegal
Indigenous peoples have the right to the lands, territories and resources which they have traditionally owned, occupied or otherwise used or acquired (Art. 26.1) and that the exercise of these rights shall be free from discrimination of any kind (Art. 2). — UN Declaration on the Rights of Indigenous Peoples (UNDRIP), adopted by the UN General Assembly on September 13, 2007.
Among others, Belgium, Britain, France, Germany, Israel and Luxembourg voted in favor of the Declaration. Since 2007, Australia, Canada, New Zealand and the United States, who voted against, formally endorsed the Declaration in 2010. In their relations with Israel, these states cannot claim that the Declaration does not apply to Israeli Jews, since such position would amount to blatant racial discrimination.
[I]t cannot seriously be contended, as the EU, France, Britain, Russia, China and other states do, that Israeli settlements in the West Bank are illegal and that annexation is contrary to international law. This position is political, not legal.
Article 80 of the United Nations Charter (1945) recognized the validity of existing rights that states and peoples acquired under the various mandates, including the British Mandate for Palestine (1922), and the rights of Jews to settle in the Land of Palestine (Judea-Samaria) by virtue of these instruments. (Pr. E. Rostow). These rights cannot be altered by the UN.
“Except as may be agreed upon in individual trusteeship agreements…nothing in this Charter shall be construed in or of itself to alter in any manner the rights whatsoever of any states or any peoples or the terms of existing international instruments to which Members of the United Nations may respectively be parties.” — Article 80, paragraph 1, UN Charter)
The United Nations Declaration on the Rights of Indigenous Peoples (UNDRIP), adopted by the UN General Assembly on September 13, 2007, by a majority of 144 states in favor, 4 votes against, and 11 abstentions, recognized that indigenous people (also known as first people, aboriginal people or native people) have the right to the lands, territories and resources which they have traditionally owned, occupied or otherwise used or acquired (Art. 26.1) and that the exercise of these rights shall be free from discrimination of any kind (Art. 2).