The case was Georgia v. Randolph. The Court held 5-3 (Souter for the court with Stevens, Kennedy, Ginsburg and Breyer joining, and Roberts, Scalia and Thomas dissenting) that "a physically present co-occupant's stated refusal to permit entry renders the warrantless search unreasonable and invalid as to him".