How would they enforce that on a decentralized communication platform?

outlawing the platform

Did you ever read about how the creator of Session was forced to flee Australia and move to Switzerland?