TEL AVIV, Israel (AP) — Israel’s former prime minister on Thursday urged world leaders to shun Israel’s current prime minister, Benjamin Netanyahu, as he presses ahead with a plan to overhaul the country's justice system. The United States and Germany, two of Israel’s closest allies, called on Netanyahu to slow down.

The rare calls for restraint and international intervention came as thousands of Israelis once again took to the streets to protest Netanyahu’s plan.

Ehud Olmert, who served as prime minister from 2006-2009, told The Associated Press that global leaders should refuse to meet with Netanyahu. He appealed specifically to British Prime Minister Rishi Sunak, who is expected to host Netanyahu in the coming weeks.

“I urge the leaders of the friendly countries to the state of Israel to refrain from meeting with the Israeli prime minister,†Olmert said.

He added that he was aware his call, as a former Israeli prime minister, “is quite extraordinary" but that the situation calls for it. "I think that the present government of Israel is simply anti-Israeli,†Olmert said.

He took aim at Netanyahu’s far-right coalition, an alliance of ultra-Orthodox and ultranationalist parties that oppose Palestinian independence and support increased settlement construction in occupied territories claimed by the Palestinians.

Netanyahu's coalition allies today have close ties with the West Bank settler movement and have a history of statements offensive to Palestinians, women, LGBTQ people and minorities.

Itamar Ben-Gvir, the current was convicted in the past of incitement to racism and supporting a terror group. Netanyahu's finance minister, Bezalel Smotrich, recently called for a Palestinian village in the occupied West Bank to be “erased,†though he later apologized after an over the comments.

"Those who are in favor of the state of Israel should be against the prime minister of the state of Israel,†Olmert said.

A spokesman for Netanyahu did not immediately respond to a request for comment.

Netanyahu and his allies are now barreling ahead with a plan that aims to weaken Israel’s Supreme Court and give his parliamentary coalition control over the appointment of judges.

Netanyahu says the plan will correct an imbalance that he says has given the courts too much sway in how Israel is governed. Critics say the overhaul will upend the country’s system of checks and balances and would give the prime minister too much power. They also say Netanyahu, who is on trial for corruption charges, could once the court system is revamped.

Israel’s figurehead president, Isaac Herzog, offered a compromise proposal to the nation late Wednesday. But Netanyahu quickly as “one sided†and favoring his opponents.

The overhaul has plunged Israel into one of its worst domestic crises. Tens of thousands of people have taken to the streets over the past two and a half months, and the plan has sparked an uproar from top legal officials, who say it will damage the economy and from within the country’s military, the most trusted institution among Israel’s Jewish majority. under what they see as a shift toward autocracy.

Protesters held a “day of disruption†for a third week on Thursday, with thousands of people blocking roads, including the main highway of the seaside metropolis of Tel Aviv. Protesters in Jerusalem drew a large red and pink streak on city streets leading to the Supreme Court and a small flotilla of bloats blocked the shipping lane off the coast of the northern city of Haifa.

“The elected government is doing a legislative blitz that aims to give absolute power to the executive. And absolute power to the executive with no checks and balances is simply a dictatorship. And this is what we’re fighting against,†said Shlomit Tassa, a protester in Tel Aviv, waving an Israeli flag.

Five opposition party leaders staged a joint press conference and called on Netanyahu to accept the president’s proposal. Yair Lapid, the Knesset opposition leader, said they “welcome the president’s proposal because in a civil war, there will only be losers.â€

Key Israeli allies also waded into the debate. At a joint news conference with Netanyahu in Berlin, German Chancellor Olaf Scholz about the overhaul plan and praised the Israeli president’s attempts to seek a “broad basic consensus.â€

“As close friends of Israel with shared democratic values, we are following this debate very closely, and I cannot hide the fact that we’re following it with great concern,†Scholz said at a news conference alongside Netanyahu. “The independence of the judiciary is a precious democratic asset.â€

Netanyahu showed no sign of being swayed. “I am attentive to what is happening in the nation, but we need to bring something that is in line with the mandate we received,†he told reporters.

The White House also praised Herzog’s effort to broker a compromise.

“The genius of our democracy — and frankly Israel’s democracy — is that they’re built on strong institutions, that they include checks and balances that foster an independent judiciary,†White House ´ºÉ«Ö±²¥ Security Council spokesman John Kirby said. He said Herzog's efforts are "consistent with those same democratic principles.â€

Olmert was once one of Netanyahu’s in the hard-line Likud Party. But over time, Olmert veered far to the left. As prime minister, he held months of intense peace talks with the Palestinians before he was forced to resign to face his own legal troubles.

Olmert later after being convicted of accepting bribes and obstructing justice for acts committed years before he was prime minister.

Olmert announced his resignation in 2008, long before he was indicted. At the time, Netanyahu, then in the opposition, led the calls for him to step down, saying he was unfit to rule while facing a criminal probe.

Asked about Netanyahu’s refusal to step down in similar circumstances, Olmert said he had different values than his old rival. He said that at a certain point, he realized the country’s interests were more important than his personal interests.

“The state of Israel comes first,†he said. “I retired a year before I was indicted because I felt that it is not right.†___

Bentov reported from Tel Aviv, Israel. Associated Press writers Geir Moulson in Berlin and Aamer Madhani in Washington contributed to this report.

The ´ºÉ«Ö±²¥ Press. All rights reserved.