A man’s awareness that he was staying in a condemned house fatally crippled his standing to challenge the constitutionality of a police search of the unit he was occupying, a federal magistrate judge has determined.

Western District Magistrate Judge Hugh Scott held that Donald Rounds may not challenge the warrantless search—in which police say they found a shotgun, crack cocaine and a scale used to weigh illegal drugs—as a violation of his Fourth Amendment rights, even though Rounds had permission from the house’s owner for overnight stays in the dwelling.