Aparently, the writers. Just about everytime this scene happens, the protagonist acts less than concerned or freaked out that somebody's taken liberties with their unmentionables.
Off the top of my head, the only such scenes are medical/hospital stuff (fairly accepted once one is past the "in a hospital/am I alright?") or Austin Powers (which isn't exactly a serious depiction; "how do you like your quasi-futuristic outfits?")