TEL AVIV – News of a statement by the Israeli Defense Ministry slamming President Barack Obama for the Iran deal took Prime Minister Benjamin Netanyahu by surprise, his aide told U.S. Ambassador to Israel Dan Shapiro on Friday. 

Netanyahu’s senior aide called Shapiro and informed him that Defense Minister Avigdor Lieberman did not brief the prime minister on the statement, Haaretz reported.

In the harshly-worded statement, the Defense Ministry countered Obama’s claim that Israeli officials believe the U.S.-led deal with Iran will have a “positive outcome” in the region. It further compared the deal to the 1938 Munich Agreement with Hitler.

“The Israeli defense establishment believes that agreements have value only if they are based on an existing reality, and that they have no value if the facts on the ground are completely the opposite of [the concepts] on which an agreement is based,” the ministry said.

The Munich agreement did not prevent the Second World War and the Holocaust, precisely because its basic assumption, that Nazi Germany could be a partner to any kind of agreement, was wrong, and because the leaders of the world at that time ignored the explicit statements by Hitler and the rest of the leaders of Nazi Germany.

According to Haaretz, the aide told Shapiro that Netanyahu learned about the remarks from the media. His office subsequently released a statement distancing the prime minister from the Defense Ministry’s remarks.

“The Israeli position on the Iran deal remains the same, but the prime minister staunchly believes that Israel has no ally more important than the U.S.,” the message said.

During a press conference at the Department of Defense on Thursday, Obama noted that even senior Israeli defense officials acknowledge that the nuclear deal with Iran has had a positive outcome. He was apparently referring to remarks from IDF chief Gadi Eisenkot. Over the past year, Eisenkot has expressed his opinion on multiple occasions that the deal has decreased the threat level faced by Israel.

“By all accounts, it has worked exactly the way we said it was going to work. [The] Israeli military and security community … acknowledges this has been a game changer,” Obama said. “The country that was most opposed to the deal.”