UNITED NATIONS (Reuters) - The Iran nuclear deal must be changed if the United States is to remain in it, the top U.S. diplomat said on Tuesday, suggesting its key limits on the Iranian nuclear program must be extended.

U.S. Secretary of State Rex Tillerson and U.S. Ambassador to the U.N. Nikki Haley (R) listen as U.S. President Donald Trump addresses the 72nd United Nations General Assembly at U.N. headquarters in New York, U.S., September 19, 2017. REUTERS/Brendan McDermid

Making his debut appearance at the annual United Nations General Assembly, U.S. President Donald Trump accused Iran of exporting “violence, bloodshed and chaos” and of seeking to project its influence in Yemen, Syria and elsewhere in a region rife with sectarian conflicts between Sunni and Shi’ite Muslims.

“We cannot let a murderous regime continue these destabilizing activities while building dangerous missiles, and we cannot abide by an agreement if it provides cover for the eventual construction of a nuclear program,” Trump said.

He saved his harshest words for the 2015 pact struck by Iran and six major world powers under which Tehran agreed to restrict its nuclear program in return for loosening economic sanctions.

“The Iran deal was one of the worst and most one-sided transactions the United States has ever entered into. Frankly, that deal is an embarrassment to the United States, and I don’t think you’ve heard the last of it - believe me,” Trump said.

His chief diplomat, Secretary of State Rex Tillerson, went further, telling Fox News that the agreement must be changed or the United States could not stick with it.

Tillerson said the “sunset” clauses, under which some of the deal’s restrictions on Iran’s nuclear program expire from 2025, were of particular concern.

“If we’re going to stick with the Iran deal there has to be changes made to it. The sunset provisions simply is not a sensible way forward,” he said.

“It’s just simply ... kicking the can down the road again for someone in the future to have to deal with,” he added.

Slideshow ( 4 images )

In contrast, French President Emmanuel Macron praised the agreement during his speech and said it was inconceivable to abandon it.

“Renouncing it would be a grave error, not respecting it would be irresponsible, because it is a good accord that is essential to peace at a time where the risk of an infernal conflagration cannot be excluded,” Macron said.

The French president said he understood U.S. concerns but thought the way to address them was to open up a negotiation designed to extend limits on its nuclear program beyond 2025.

Macron and other supporters of the accord say weakening or scrapping the deal would add fuel to a regional powder keg and deter North Korea from negotiating on its nuclear program.

‘HATE SPEECH’?

The July 14, 2015 accord aims, for a decade, to extend the amount of time it would theoretically take Iran to produce enough fissile material for an atomic bomb - so-called breakout time - from several months to a minimum of one year.

Critics of the deal, including Israeli Prime Minister Benjamin Netanyahu, worry that, once the main restrictions on Iran’s nuclear program expire in 10 to 15 years, Tehran will be in a position to quickly develop an atomic weapon, if it wishes.

Iran responded angrily to Trump’s remarks.

“Trump’s ignorant hate speech belongs in medieval times - not the 21st Century UN - unworthy of a reply,” Iranian Foreign Minister Mohammad Javad Zarif, Iran’s lead negotiator for the nuclear agreement, said on Twitter.

The U.S. president must decide by Oct. 15 whether to certify that Iran is complying with the pact, a decision that could sink the deal. If he does not, the U.S. Congress has 60 days to decide whether to reimpose sanctions waived under the deal.

Netanyahu was also unsparing in his criticism of the nuclear pact, though Israeli officials privately admit that having some restrictions on Iran’s program are better than none.

“Change it, or cancel it. Fix it, or nix it,” Netanyahu said in his U.N. speech, saying the most important change was to eliminate the “sunset” clauses.

The Obama administration had said the deal would ensure long-term scrutiny of Iran to deter it from developing a bomb, a view echoed by Macron on Tuesday as he noted its monitoring by the International Atomic Energy Agency (IAEA) U.N. nuclear watchdog.

Trump’s pugnacious U.N. speech may empower hard-liners in Iran, who are pushing for global isolation and who discourage already wary foreign investors. His stance, unlike Obama’s offer of an olive branch, could serve the hard-liners loyal to Iran’s most powerful authority, Supreme Leader Ayatollah Ali Khamenei.

Such Khamenei allies, including Iran’s Revolutionary Guards (IRGC), some powerful clerics and influential politicians, are wary of any detente with the West which could imperil the Islamic Revolution and undermine their economic interests.

The nuclear deal was negotiated with Iran by the United States, Russia, China, Britain, Germany and France. The six will meet with Iran at the ministerial level on Wednesday.