Try reading the comment you replied to again. A valid reason for a search is the collection of evidence of a crime. Which orthogonal to whether the person or premisses committed a crime.