Ask a Lawyer and Get Answers to Your Legal Questions
Can you explain what the police were doing in your home so that I can answer your question?
The theft probably won't stand up in court unless it's 100% clear that you intended to steal something but were stopped by security before you could. However, if you let the police into your house without a warrant and they saw contraband -- drug paraphernalia -- in plain view on your coffee table, they can lawfully take that evidence and you can be charged with the possession of the pipe. If there is enough residue in the pipe to get a positive for a controlled substance, you can also be charged with possession of the drug.
In order to enter your house to search and make an arrest they need a warrant or an exception to the warrant requirement. Here they are likely going to claim that you let them in. But if you want to fight the case, your lawyer would move for a pre-trial suppression hearing to challenge the entry and the seizure as being unconstitutional. If you win, the evidence against you would have to be suppressed, which would mean the pot charge would be dismissed.