Piracy is legal if you're big enough

I think that's called being a privateer, you just need the right papers from the king!