The court ruled by a 5-to-4 vote that officials may strip-search people arrested for any offense, however minor, before admitting them to jails even if the officials have no reason to suspect the presence of contraband. Justice Anthony M. Kennedy, joined by the court’s conservative wing, wrote that courts are in no position to second-guess the judgments of correctional officials who must consider not only the possibility of smuggled weapons and drugs but also public health and information about gang affiliations. Justice Stephen G. Breyer, writing for the four dissenters, said strip-searches were “a serious affront to human dignity and to individual privacy” and should be used only when there was good reason to do so. The case is Florence v. Board of Freeholders, No. 10-945.