Determine the status of area (territorial sea, high seas etc.)
Determine the flag / registry State of the vessel
Even when you do not have the right to such action,
consider existence of circumstances precluding
wrongfulness such as force majeur, self defence, necessity
or distress or authorizat,on by a binding UNSC resolution
More infomation: Maritime jurisdiction