Let's suppose you are not a Mass resident and are on RT 91 in Mass on your way from VT to CT with a gun properly locked in the trunk per FOPA when you encounter a bona fide, life or death, self-defense situation. (Imagine that there are bullet holes in your car and witnesses to prove it.) You skid to a stop and remove your gun from the trunk.
Is Massachusetts going to prosecute you for a gun crime? Does it matter if your gun was handgun, or rifle?
I'm not concerned here with any consequences to firing the gun, or injuring anyone, or damaging any property. Only with removing the gun from the locked compartment for self-defense.
All bets are off once the gun comes out. There is just too little case law and too much legal ambiguity to know for sure. But, if I were in a life or death self defense situation I don't think any law, regardless of how punitive, would matter much to me.