Is this a principled defense of free speech or a case of a man treating ostensibly independent companies as divisions of his personal conglomerate?
The court orders for Twitter in Brazil were way more tame and based on judicial procedures than orders that Elon followed from Turkey and other less democratic countries. There's no visible rhyme or reason why he's fighting the Brazilian courts much harder than orders from other less democratic countries, something else is happening unrelated to free speech or any lip service he pays to.
But OTOH it is pointless to 'fight' the judicial system of e.g. Russia, or flawed democracies like Turkey which stage a coup. OTOH brazil is somewhat more democratic and it makes sense to appeal to their democratic institutions.