On the contrary, parties can be very safe environments. Much like there are better and worse places to drink, there are better and worse places for taking other drugs. A lot of factors play into the setting. Music is very often a plus, feelings of freedom, being outside, good weather, like-minded people – relaxed open air festivals make for a good example.
You are missing my point. That's exactly what I'm saying: a trusted environment with trusted people VS people taking random substances in a random disco.