"We will make the enemy understand that either all can use the Strait of Hormuz or no one", Mohammad Ali Jafari, commander of the Islamic Revolutionary Guard Corp, was quoted as saying by Tasnim news agency.
Major General Mohammad Ali Jafari, the chief IRGC commander, made the remarks in reference to Iran's President Hassan Rouhani's recent statement that if Iran can not export its crude oil through the Hormuz Strait, no other country would be able to do so.
Speaking on July 6, French Foreign Minister Jean-Yves Le Drian said it was unlikely European powers would be able to put together an economic package for Iran that would salvage its nuclear deal before November and warned Tehran to stop threatening to break its commitments to the accord.
As tensions grow, the USA president is demanding that all countries end imports of Iranian oil by 4 November, as part of a series of 12 demands aimed at forcing Iran to behave "like a normal country".
However, hopes of success were clouded after Iran's President Hassan Rouhani told French President Emmanuel Macron on Thursday that the European economic measures on the table did not go far enough. The principal benefit Iran has experienced under the deal is a doubling of its oil exports to around 2.8 million barrels a day.
"We are hopeful that this plan expressed by our president will be implemented if needed".
Revolutionary approaches in dealing with the enemy and the United States on top enables us to give a lesson to the enemy that the use of Strait of Hormuz will be for all or for none, stressed the commander.
Protesters rally around Polish Supreme Court justice in defiance of new law
Under new laws regulating the work of Poland's Supreme Court , Tuesday marks the retirement of Supreme Court judges aged 65 and over.
Asked what would be the USA naval reaction if Iran blocks the strait, he said: "Together, we stand ready to ensure the freedom of navigation and the free flow of commerce wherever global law allows".
US-Iran relations have been hostile since the 1979 overthrow of the US-backed shah and the US embassy hostage crisis.
"If the process of the European foreign ministers' meeting in Vienna, which is aimed at encouraging Iran to cooperate, is promising, we will continue our cooperation", he said.
Iran, which strongly denies ever seeking to build a nuclear bomb, has warned it could resume uranium enrichment for civilian purposes if the deal collapses.
Russian Foreign Minister Sergei Lavrov also said on Friday that the remaining parties to the nuclear deal had agreed to work out ways of trading with Iran independently of the United States' "whim". But even when those sanctions did materialize, Iran did not block the strait.
The Iranian president said there was no action plan or "a clear method in the proposed package for the continuation of cooperation and, similar to the previous European Union statements, it only contained general commitments".
Mogherini noted that companies pursuing business in Iran "have been acting in good faith based on the commitments contained in the JCPOA and endorsed at the highest level by the UN Security Council" and said the treaty states were committed to providing "clear and effective support for economic operators trading with Iran".