After hearing both sides, the court said, "There is some substance in the contention of the applicant (Shaikh). Apart from this, this accused, other UTPs (undertrial prisoners) who were brought before this court also made such complaints against the searching guards." The court observed, "Certainly, taking a search by making the UTP nude is a violation of his fundamental right to privacy, it is also humiliating. Not only this but using unparliamentary or filthy language against the accused is also humiliating to the UTP." The judge then directed the superintendent of the central prison, Mumbai, and guards to use only scanners or gadgets to search undertrial prisoners.
The court added that if scanners or electronic gadgets are not available and a personal search of an undertrial prisoner is required to be conducted physically, the authorities should not "misbehave" or "humiliate" the undertrial. "The authorities should not strip, use filthy or unparliamentary language against the UTPs," the court added.