Only days ago, Islamic Republic hardliners running the city of Tehran put up a gigantic banner at one of the busiest intersections in the Iranian capital.

"The Strait of Hormuz will remain closed," it declared.

This was meant to signal an edict from Iran's new Supreme Leader, Mojtaba Khamenei, who has not been seen in public since being named leader last month.

But that banner may now have to be taken down after Iran agreed to a two-week ceasefire and the reopening of the Strait as requested by Pakistan, which has been mediating between the US and Iran.

That is despite Iran repeatedly saying it would not agree to a temporary ceasefire and that it wanted a permanent end to the US and Israeli war on Iran.