What they didn’t foresee is that some people are immune to peer pressure because their goal is to inflict harm.
To be clear, that same gatekeeping can be and has a times been perverted into social exclusion, but the problem at hand IMO is the discarding of the baby with the bathwater.