Even if a defendant agrees to warrantless searches in exchange for pretrial release, police still can’t search him without probable cause, the 9th U.S. Circuit Court of Appeals ruled Friday.

In a victory for the privacy rights of defendants awaiting trial while on their own recognizance, a 2-1 majority threw out evidence Nevada authorities had received by testing Raymond Scott for drugs without probable cause.