You're very lucky because Maine requires permits for residents and non-residents to carry concealed weapons.
So if you weren't permitted you should be thankful they didn't press the issue and the reason they didn't press the issue is because
the weapon was in the vehicle and not on you.
trust me when I tell you, they did you a favor.
Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed lamb contesting the outcome of the vote.