It is an absolutely serious matter. Chilling effect that this will have is massive. .
As an example, India recently did not let two US and Spanish nationals [1,2] enter India because they were supporting farmers' protest happening in India, cancelled their OCI status (residence permit) supposed to be for life and put other supporters on a visa blacklist. Western Punjabi journalists immediately said that they will have to self-censor themselves or the link to their parents and religious places will be cut off.
Criminalization adds a very nefarious aspect to this, and at this point it might have no teeth but it will only need one guy to be made example of.
[1]- https://thewire.in/rights/outrage-as-prominent-nri-denied-en... [2] - https://timesofindia.indiatimes.com/city/amritsar/reminder-o...