Not a Token. Iran has been clear, the SoH is not closed. At least, it's not closed to friendly shipping, just to enemy.
UNCLOS, the UN law of the sea, is something I armchair follow because I am interested in the South China Sea stuff. And it probably won't be a surprise to hear that the interweb where I am is very restricted when it comes to territorial sea maps and shipping lanes. It's not just 9 dash line stuff that is, ahem.... censored. In fact, maps in general are blocked. Nothing more detailed than a primary school atlas appears to be allowed.
Iran has signed but not Ratified UNCLOS. So it accepts the basis of it, but is technically not bound by it. And it should not be a surprise at all to hear that of the very few other nations who have not ratified it, yup, the USA is one. Hilary Clinton is big on that oddly enough. It was a manifesto thing of hers to ratify it. The repugs say no.
The Map below is the most detailed people where I am are allowed pretty much. No details on the 12 mile territorial limit or the 24 mile contiguous limit. The 12 mile limit is territorial sea, so that is under the full control of the state, the 24 mile limit allows for some state control, but also freedom of passage must be allowed. The EEZ, up to 200 miles allows almost no state control for shipping.
But UNCLOS has a mechanism where up to two rules in the book can be ignored, so long as other member states are told at the time of ratification. For example, from what I can figure out, Oman opted out of automatic free passage of warships though it's sea, they need to ask permission.
The map below is the most detailed I can find of the SoH, and there is just not enough info to work out how UNCLOS applies.
The only power the UN has to enforce UNCLOS and freedom of passage is reciprocation. So if Iran does not allow UK and French ships through, Iranian ships can be denied passage through the English Channel.
So, Iran can't legally stop ships going through Oman waters on the map below, but TBH I don't know if they can, given safe depths etc.
So basically this is a long post to say... I don't know.
Also some parts of UNCLOS are intentionally fuzzy. Because how else to get so many nations to ratify it.
And in any case, there is a war on you know.