Let's see... insurance companies charge more for a ship with an armed crew and some ports won't let you dock with an armed crew.
Solution is arm the crew, install a hidden locker for the weapons (for use when coming into 'some' ports) and drink a big cup of STFU about your capabilities. Concealed is concealed, no one needs to know. If you do need to defend yourself, who's going to report the pirates missing?