If the judge decision is illegal, that's the problem of the brazilian political and law system, and of the brazilian People. But X is not a brazilian citizen AFAIK... so it either follow the rules, leave the country or is illegal.
Moreover, when Starlink refuse to respect a court order, Starlink is although a problem (be it another Musk property or not)