Iranian President Hassan Rouhani said Friday that Iran will "stick to" the international nuclear weapons agreement as written and that President Trump's efforts to scuttle it leave the United States "more isolated than ever."

Trump said on Friday that he would not re-certify the two-year-old agreement to Congress because Iran is allegedly not living up to the spirit of the deal and has committed “multiple violations.” Trump says that if Congress can’t come up with new legislation, he will terminate the Obama-era pact.

In a 22-minute response on Iranian TV, Rouhani said Trump apparently does not realize that a U.S. president cannot unilaterally scrap a deal negotiated among many nations and certified by the United Nations.

The deal, formally known as the Joint Comprehensive Plan of action (JCPOA), was struck in 2015 following negotiations by China, France, Germany, Russia, the United Kingdom, the European Union and Iran.

"No president can revoke an international document backed by the U.N. on his own," he said. "America took a hostile position against an international deal (and) once again the European Union also took a firm position against the U.S. America is now is more than ever isolated."

More:As President Trump moves to decertify Iran deal, Sen. Bob Corker outlines plan to fix it

More:Iran nuclear deal and Trump: What does decertification mean and other questions, answered

More:Analysis: What Trump's move on the Iran deal means

The Iranian leader also said Iran will not amend or change the deal and that Iran would "will continue to stick to" the deal "as long as our rights are provided and our needs are met."

Trump has called for renegotiating what he has described as the "horrible" agreement reached during the Obama administration.

Trump's remarks, he said, "showed the JCPOA is much stronger than what this gentleman thought of the deal in the presidential campaign." He later doubled down on that rhetoric with a series of Twitter posts late Thursday.

"Many people talking, with much agreement, on my Iran speech today," Trump said on Twitter. "Participants in the deal are making lots of money on trade with Iran!"

Rouhani also pre-empted any attempt by the U.S. to try to use the increased tension as leverage to negotiate any other broader defense pact, such as limiting Iranian missile development.

He vowed that Iran would strengthen, not reduce, its conventional defense capability, including missiles.

"Our weapons are for deterrence and defense, and we will continue to grow our defense capability," he said. Trump's action, he said, had only served to unite the Iranian people.

Rouhani also chided Trump for referring to the Persian Gulf as the "Arabian Gulf," which Saudi Arabia prefers, noting that international maps, and even U.S. military maps, refer to the waterway as the Persian Gulf.

In addition, he charged that Trump does not seem to understand the past history of U.S. involvement in Iran, particularly the overthrow by the CIA of the democratically-elected president of Iran, Mohammad Mosaddegh, in 1953 and his replacement by the Western-backed Shah Mohammad Reza Bahlavi.