They were war zone waters. International or not. War trumps.
Clue 3, remember that statement when the Coast Guard blows your sailing boat out of the water.
Combatants may board vessels to ascertain whether they are carrying war materials to one of the belligerants but that's not quite the same as "shoot first and ask questions later".
Violation of those laws is a war crime..not to mention lousy tactics.