I have a different view on this.
Anonymity brings out the worst in people and although I believe in freedom of expression, I think people should not be allowed to make statements anonymously.
If you make a statement be prepared to assume responsibility for it, especially if you slander/attack someone (see where this whole thing started).
Yes, there are some exceptions, but I doubt they apply here (whistleblowers, abuse etc)
As for the fact that it was removed remotely, it's a decision from a judge, Apple can't really do much but comply.
Yes anonymity brings out the worst in people, but it also brings out Honesty. Sometimes this is brutal and feels like an attack, and sometimes it is an attack. However, why does an anonymous attack bother you? especially from someone probably at least half way across the country that doesnt have any clue who you are (especially considering you are anonymous too). So how can it really be an attack? And besides words are words, when is society going to start following what we tell our children "Sticks and stones will break your bones, but words will never hurt you".
And if you truly have a different opinion on this, why are you anonymous on this forum? You should be using your real name, and have your full address and phone number in your signature if you truly believe people should not be allowed to make statements anonymously.
And you are wrong, a Judge's decision is not the end - plenty of judges make the wrong decision or decisions they are not really allowed to make. And there is plenty Apple can do other than comply - for one they could just not comply and pay the fine or just not pay the fine (which could have consequences). More likely they will appeal. And the fact is, this probably is outside the bounds of the Judge's power, as the OP originally stated and gave examples, a judge cant force a company to go to peoples houses and remove purchased products - just because this is digital and they dont have to go to your house does not make it any different. What a judge can do is enforce a Manufacturer's recall be sent out - but then it is still up to the customer to follow the recall and it is their choice not to.
Additionally, I dont know Brazilian law - but I would suspect that the law prohibits a USER from hiding their identity online - so selling an app in Brazil that allows you to do this would not be illegal, but using it would be. And no matter the wording of the law, it is absurd because the entire internet is Anonymous - they would have to disable the entire internet in Brazil to enforce this....