Just do what cdwjava has suggested. Hire an attorney. An attorney is cheaper in the long run than losing jobs because of an illegal weapons conviction. An attorney will be able to argue in court that the search was illegal and therefore anything found in the search in not admissible in court. This is something you really can't do on your own.

