Legal solutions to illegality on the seas