Evidently, he had the right to search your sleeper without a warrant, or at least he thought so. Sounds like you could be in a heap of trouble if that pistol's serial number was missing or reported stolen. I'd guess that's why it was confiscated. If I were you I'd pony up for an attorney...