They have to follow the law of the country as tyrannical as it is like they did in Brazil. I hope one day they say fuck it.
What other moral standard is there besides laws? Is it that the laws of non-tyrannical countries should override those of tyrannical ones? How do you decide tyrannicalness? Or should internet companies decide what should be allowed in other countries despite those countries and their populations disagreeing? Great firewalls are the solution when nobody can agree with each other across borders but that's a pity.
They took a pretty good stab at it in 1948: https://www.un.org/en/about-us/universal-declaration-of-huma...