If harassers, as you have mentioned, can simply switch to another channel, then what problem exactly is this measure trying to solve? I'm honestly confused.
Before this change, would the company have been liable for harassing DMs on Slack, an unaffiliated service where they previously were not able to read peoples DMs?
Friction. Yes they could use PGP messages. But most people are idiots and use the systems that are available and simple. If somebody needs to think "I've got to go through these extra steps to be an asshole" then they might think twice in the first place.
Now the harassers are doing more and more to harass and leaving more evidence behind. And you have a more compelling case, "they were on Slack, they were on email, they were texting, they set up their own ICQ server..."