It's too bad the navies don't use muzzle loading cannon anymore. A 24pdr cannon ball chained to the pirates and dumping them over the side is a very efficient way of dealing with this. The pirates have no problem with killing ship's crews, so they shouldn't complain if they get the same treatment.