The Iranian embassy in Spain has said on X that Spain respects international law and, therefore, Iran would be receptive to any request from Madrid concerning transit through the Strait of Hormuz.
If the authorities felt terrorism was increasing in some tribal districts and adjoining areas, they could have limited themselves to imposing a targeted emergency under Article 232.
In 2015, the parliament had decided to “maintain neutrality in the Yemen conflict so as to be able to play a proactive diplomatic role to end the crisis”.