Social media giant X said it expects Brazil's top court to order it to shut down, as a pitched legal battle plays out over compliance with local laws and owner Elon Musk's insistence the platform is being punished for resisting censorship.
X said it expects Supreme Court Judge Alexandre de Moraes to order the shutdown "soon," after a court-imposed deadline for the company to identify a legal representative in Brazil passedon Thursday evening.
Just before midnight, X was still working normally in the country.
Earlier on Thursday, the Supreme Court blocked the local bank accounts of billionaire Musk's Starlink satellite internet firm, while the underlying feud over X put it on the brink of being shuttered in one of its top markets.
The two firms are part of Musk's sprawling business empire which also includes rocket company SpaceX and electric car giant Tesla. The billionaire owns X and 40 per cent of SpaceX, and is the CEO of Tesla.
In a series of Thursday night comments on X, Musk lashed out at Moraes, labeling the judge an "evil dictator" in a newly pinned post. He also decried the ruling to block Starlink as illegal, and claimed the action "improperly" punishes other shareholders as well as ordinary Brazilians.
Musk also announced that Starlink-parent SpaceX will provide free internet service to Brazilian users "until this matter is resolved."
Signed by Moraes, the court's decision to sanction Starlink is a response to the lack of legal representatives in Brazil for X, a Supreme Court source told Reuters.
The decision to freeze Starlink's bank accounts also stems from a separate dispute over unpaid fines that X was ordered to pay due to its failure to turn over some documents. Local newspaper Folha has reported the fines total at least 20 million reais (AED 13.2 million), but Reuters was not able to confirm the amount.
Brazilian law requires all internet companies to have a legal representative in the country who can receive judicial orders and otherwise be legally responsible for the business.
X, formerly known as Twitter, is widely used in Brazil, and is an important means of communication in particular for politicians.

US, India agree on trade deal and lower tariffs, says Trump
Israel reopens Gaza's Rafah border crossing to Egypt, with limits
US envoy Witkoff to visit Israel, meet Netanyahu, Israeli officials say
Russian drone strike kills 12 miners in Ukraine
Singapore to launch space agency in response to global investment surge
Five-year-old boy returns to Minnesota after ICE release
Reopening of Gaza's Rafah crossing expected Monday
Winter storm death toll in United States reaches 90
