What is the current law of the sea concerning pirates? Keel-hauling or hanging from the yardarm?
Summary execution.....................
Article I § 8 The Congress [ie. not Biden] shall have power: …
To define and punish piracies and felonies committed on the high seas, and offences against the law of nations;
To declare war, grant letters of marque and reprisal, and make rules concerning captures on land and water;
IIRC European countries signed a treaty to ban letters of marque and reprisal, but the US declined to sign it. I wonder if Elon Musk might like to buy one.
You'll have to ask the maritime division of Lloyd's of London.