This post is very simplistic.
—-
You live in a country called Politistan, you own a tech startup in which 75% of engineers are foreigners on a PL-VISA. A new party comes into power, and draft a proposal do abolish said visa.
Do you expect your employees - that could be at risk of not being able to renew their visas - to not discuss politics at work?
—-
I know my example is flawed, I don’t have a good proposal either, but hard “Don’t, just don’t” isn’t enough for extreme cases.