Yeah, it's stuff like this that makes me not want to donate my body to science.
However, if the body of a loved one who has passed away were to be treated without respect, it would upset me a lot.
I'd certainly be very happy knowing that my body brought such an experience to another individual, I certainly won't be using my body anymore at that point.
I wonder if, when signing up for donation, you can specify what kinds of "science" or interactions you prefer your body to be used for after dying.
[1] https://ca.movies.yahoo.com/french-academic-charged-over-mas...
Its pretty common tbh.
The thornier issue, having discussed my wishes with my family, is how it will affect them after I go.