In the last days of its government, the administration of former US President Donald Trump has included Xiaomi in the list of companies allegedly associated with the Chinese military. This led to financial restrictions that were due to take effect next week. But Xiaomi was not afraid and went to court.

And yesterday, US District Judge Rudolph Contreras backed the Chinese company and forbade the Department of Defense to restrict US investments. True, so far the ban has only been temporarily suspended, but according to the judge, Xiaomi is likely to win a complete lifting of the ban as the lawsuit develops.

Xiaomi’s lawsuit says the Trump administration’s decision was “arbitrary and capricious” and stripped the company of its due process rights.

The judge upheld the claim and said: “The court is somewhat skeptical that serious national security interests are actually involved.”

Completed. Xiaomi has released an official statement following the court’s ruling, which reads:

“Xiaomi underlines once again that it is a public and independent company that produces consumer electronics exclusively for civil and commercial use. Xiaomi considers the decision to put her on the CCMC list excessive and pretentious, and the judge agrees with this. The company will require the court to declare the decision illegal and to remove the company from the list on an ongoing basis.”