Samurai at this point were samurai true, but mostly just office workers at this point. Not exactly the armored warriors most people would think of as a samurai.
Where would the pirates be from? Golden age of piracy had long past in Europe afaik. Or are we just being amorphous with the fact there are always pirates?
Well damn. That’s some effective magic lol