There could be another solution to the pirate problem, bring back the Q ship.
A couple of instances where the last thing the pirates see is the freighter they are about to attack suddenly sprout more guns than Charlton Heston's rec room should give them pause.