JERUSALEM (AP) — Israel is rejecting remarks by President Barack Obama contending it no longer opposes the nuclear deal that world powers struck with Iran in 2015.

Prime Minister Benjamin Netanyahu said on Friday that “Israel’s view on the Iran deal remains unchanged.”

Israel’s Defense Ministry reportedly compared the deal to the 1938 Munich Pact ahead of World War II, which Britain and France signed with Germany and which averted war at the time but effectively gave then-Czechoslovakia to the Nazis.

Obama said in remarks on Thursday that the Iran deal is working and that “it’s the assessment of the Israeli military and intelligence community … that acknowledges this has been a game-changer.”

Netanyahu has been one of the fiercest critics of the nuclear deal and butted heads with Obama over the issue.