While seemingly noble, some of these accounts were from people not living in Brazil, and supposedly being read by people also not living there. So there's the question of if an American corporation should censor the (one-way?) communication between, say, two US residents at the request of a foreign government.
The court should have issued a more reasonable request of restricting those accounts to be reached by accounts based in Brazil, which should restrict the judge's decision to his jurisdiction.