Iran has agreed to allow 20 ships through the Strait of Hormuz. Under the agreement the ships must be under the Pakistan flag. Pakistan has been acting as the mediator of negotiations between the US and Iran.