It's a trade off. Do you want to risk being censored by your own country or risk being censored by San Francisco?
I am aware that citizens of more repressive governments might not make the same choice.
Passing laws is fine as long as your side is in power to enforce them the way that you like.