exactly, so they should be championing the rights of the government to imprison white Europeans who disobeyed orders regarding social media in the same way they defend the regimes right to govern the country the way it does with regards to low income migrant workers who have their passports held by their employers or to impose fundamental religious laws against homosexuality.
they're a guest in their home, they didn't follow the rules.
it would be a bit rich of any expats to turn a blind eye to the brutality of the country they're in or to lecture others on not understanding the cultural differences but then turn around and complain when they are at odds with the culture.
you can't say "when in Rome, unless the Romans are doing something i don't like"