Public health officials have a responsibility to alert the public to prospective dangers without unduly restricting individual freedom or adding to the stigmatization of certain illnesses.
Performing a pelvic exam without consent on an anesthetized woman, even for teaching purposes, is unethical and considered sexual battery in some jurisdictions.