They were not. The Stanford Prison Experiment used to be a case study on people following orders and fulfilling assigned roles, and now it's the case study for the problem of the replication crisis.
The effect happens all the time in MMOs and something like Reddit.
I think a lot of these classic experiments are hard to replicate because the people who sign up for psychological experiments know what behavior to avoid.