Secretary of State Mike Pompeo is expected to announce on Monday that the U.S. is softening its position on Israeli settlements in the occupied West Bank, the latest in a series of Trump administration moves that weaken Palestinian claims to statehood.

Pompeo plans to repudiate a 1978 State Department legal opinion that held that civilian settlements in the occupied territories are “inconsistent with international law.” The move will likely anger Palestinians and put the U.S. at odds with other nations working to end the conflict.

The Trump administration views the opinion, the basis for long-standing U.S. opposition to expanding the settlements, as a distraction and believes any legal questions about the issue should be addressed by Israeli courts, according to a draft of Pompeo’s remarks on the policy obtained by The Associated Press.

“Calling the establishment of civilian settlements inconsistent with international law has not advanced the cause of peace,” Pompeo says in the draft. “The hard truth is that there will never be a judicial resolution to the conflict, and arguments about who is right and who is wrong as a matter of international law will not bring peace.”

U.S. administration moves that have weakened Palestinian efforts to achieve statehood have included President Donald Trump’s decision to recognize Jerusalem as Israel’s capital, the movement of the U.S. Embassy to that city and the closure of the Palestinian diplomatic office in Washington.

Even though the decision is largely symbolic, it could also give a boost to Israeli Prime Minister Benjamin Netanyahu, who is fighting for his political survival after he was unable to form a coalition government following recent elections.

In addition, it could spell further trouble for the administration’s oft-promised peace plan, which is unlikely to gather much international support by endorsing a position contrary to the global consensus.

The Netanyahu government was dealt a blow on settlements just last week when the European Court of Justice ruled products made in Israeli settlements must be labeled as such.

The 1978 legal opinion on settlements is known as the Hansell Memorandum. It had been the basis for more than 40 years of carefully worded U.S. opposition to settlement construction that had varied in its tone and strength depending on the president’s position.

The international community overwhelmingly considers the settlements illegal. This is based in part on the Fourth Geneva Convention, which bars an occupying power from transferring parts of its own civilian population to occupied territory.

In the final days of the Obama administration, the U.S. allowed the U.N. Security Council to pass a resolution declaring the settlements a “flagrant violation” of international law.

Pompeo was expected to say that the U.S. would not take a position on the legality of specific settlements and that that the new policy would not extend beyond the West Bank and create a precedent for other territorial disputes.

He also planned to say that the decision did not mean the administration was prejudging the status of the West Bank in any eventual Israeli-Palestinian peace agreement.

The shift is a victory for Netanyahu, a longtime booster of the settlements, and had been strongly supported by U.S. Ambassador to Israel David Friedman and big Trump donor Sheldon Adelson. Friedman was a major fundraiser for the settlements before becoming ambassador.

It may be taken by Netanyahu and the settlement movement as a green light for additional construction, or even annexation, of lands claimed by the Palestinians for a future state.

The anti-settlement monitoring group Peace Now, along with AP reporting, has found a sharp increase in settlement planning and construction since Trump took office.

For Netanyahu, the welcome boost comes at a time when he has been weakened domestically by mounting legal woes and two inconclusive elections this year.

Unable to secure a parliamentary majority, Netanyahu is now anxiously waiting to see if his chief rival, Benny Gantz, can put together a coalition. If Gantz fails, the country could be forced into a third election with Netanyahu facing the distraction of a trial.

Israel captured the West Bank and east Jerusalem in the 1967 Mideast war and quickly began settling the newly conquered territory.

Today, some 700,000 Israeli settlers live in the two areas, which are both claimed by the Palestinians for their state.

After the war, it immediately annexed east Jerusalem, home to the holy city’s most important religious sites, in a move that is not internationally recognized.

But Israel has never annexed the West Bank, even as it has dotted the territory with scores of settlements and tiny settlement outposts.

While claiming the fate of the settlements is a subject for negotiations, it has steadily expanded them. Some major settlements have over 30,000 residents, resembling small cities and serving as suburbs of Jerusalem and Tel Aviv.

The Palestinians and most of the world say the settlements undermine hopes for a two-state solution by gobbling up land sought by the Palestinians.

Israel’s settlement activities have also drawn attention to its treatment of Palestinians.

While Jewish settlers can freely enter Israel and vote in Israeli elections, West Bank Palestinians are subject to Israeli military law, require permits to enter Israel and do not have the right to vote in Israeli elections.

Associated Press writer Josef Federman in Jerusalem contributed to this report.