In a ruling that extended protections against intrusive body searches during arrests, the U.S. Court of Appeals for the Second Circuit on Thursday revived a civil lawsuit against a New York state police officer who examined a man’s body cavity for drugs.

A divided panel of the Manhattan-based appeals court held for the first time that visual cavity searches conducted in the course of felony arrests must be justified by “reasonable suspicion.”