Released in LESS than a day... wow!
Compare this to the Hainan Island incident where China held Americans for an extended period and when they did release them they made Bush pay room and board, and a hefty fee for shipping the aircraft back to the US.
In that case, the US aircraft was in China's EEZ, which is legal under LOST.
In this case with Iran, the boat was in Iran's territorial waters, which is a violation of LOST.
The irony of it is that the US and Iran are 2 of only a handful of nations that haven't ratified LOST. Those that oppose the US ratifying LOST always say that we have the world's most powerful navy so we can use gunboat diplomacy in situations like this.