Principled response: Twitter should ban completely ban foreign governments who don't allow free speech for their citizens.
So now you are back in the position of making a judgement call about whose laws permit free enough speech. There's no black and white line to draw here.
Difference in free speech between countries is not some linear continuum that gets gradually fuzzier when you get closer to Russia, Saudi Arabia and China. It varies a little, countries have idiosyncrasies, then there is big discontinuity.
Now let's start going through the other countries and tell me how this isn't a spectrum. Where does Malaysia fall on your bright line? Turkey? The Philippines? Iran? Thailand? Belarus? Brazil? Egypt? Eritrea?
I guarantee you that attempting to draw a bright line will absolutely run into fuzzy edges and judgement calls.