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.
The just solution lies in India addressing the issue through a trilateral dialogue involving the legitimate representatives of the Kashmiri people and Pakistan.