Under international law (UNCLOS) the Strait of Hormuz is split territorial waters of UAE and Iran.
Practically the UAE side isn't safe / deep enough for navigation.
This means Iran is totally within it's rights to impose a toll on navigating it's territorial waters. https://x.com/KobeissiLetter/status/2038287977294528924