The law that regulates internet on Brazil (marco civil da internet), does not require a platform to have a legal representation here.
India has similar principles to the Marco Civil da Internet that conflict the the IT Rules (hence the Supreme Court case), yet X has never dared to poke that bear.
Edit: the Indian law was stayed (ie. paused) by the Courts [0] yet X still complies
India is just as messed up as Brazil, but Musk clearly doesn't mess around with the Indian judiciary compared to the Brazilian judiciary.
[0] - https://www.scobserver.in/cases/challenge-to-the-it-rules-20...