If a messaging app ever gets the attention of government regulators, it must succumb to this verification.

I don't know any way to avoid this.

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?