The president of Iran tried President Trump’s patience on Wednesday, calling him unqualified as an international diplomat as the U.S. weighs whether it will stay in the Iran nuclear deal.

“How can a tradesman, a merchant, a building constructor, a tower constructor make judgments about international affairs,” President Hassan Rouhani remarked on state TV.

“You don’t have any background in politics. You don’t have any background in law. You don’t have any background on international treaties,” Rouhani charged.

After Trump’s tough talk this week on the Iran deal, Iran’s foreign minister, Javad Zarif, threatened the U.S. with “unpleasant” consequences if the agreement is scrapped.

The president warned Iran on Tuesday that the state sponsor of terror will face “problems” if they attempt to restart their nuclear weapons program.

“You can mark it down: If they restart their nuclear program they will have bigger problems than they ever had before,” Trump told reporters in an Oval Office meeting with French president Emmanuel Macron.

“Iran shall never possess any nuclear weapons,” Macron vowed.

Russia, China, Germany, Britain and France, who along with the U.S. signed the Obama-era deal in 2015, are all in favor of perpetuating the agreement, which lifted some economic sanctions on Iran in return for the Russia-backed regime’s promise to curb its nuclear weapons development.

German Chancellor Angela Merkel will meet with Trump on Friday to say her piece in favor of staying in the deal ahead of the May 12 deadline to re-certify it.

Russia also backs the deal, Kremlin spokesman Dmitry Peskov telling the press, “We believe that no alternative exists so far.”

Trump has lambasted the pact since the 2016 campaign, calling it “the worst deal ever” and stating it does not do enough to crack down on Iran’s nuclear missile tests.

The president has not revealed his decision on letting the deal expire.

“This is a deal with decayed foundations,” Trump said. “We’re going to see what happens on the 12th.”