New York (CNN Business) A Chinese court has banned the sale and import of most iPhone models in a stunning decision amid the trade war between the United States and China.

The ban does not cover the new iPhone XS, iPhone XS Plus or iPhone XR, which were not yet available when Qualcomm filed its lawsuit. The phones covered by the ban make up about 10% to 15% of current iPhone sales in China, according to Daniel Ives, analyst at Wedbush Securities.

The court granted a pair of preliminary injunctions requested by Qualcomm, an American microchip maker. Qualcomm claims that Apple violates two of its patents in the iPhone 6S, iPhone 6S Plus, iPhone 7, iPhone 7 Plus, iPhone 8, iPhone 8 Plus and iPhone X. The patents allow people to edit and resize photos on a phone and to manage apps by using a touchscreen, according to Qualcomm.

The practical effect of the injunction is not yet clear. The ruling was announced publicly Monday but put into effect last week, but Apple said in a statement that all iPhone models remain available in China. The company was still selling some of the models in question, like the iPhone 7 and iPhone 8, on its China website on Tuesday.

Qualcomm said in a statement that it would seek to enforce the injunction.