(Reuters) — Qualcomm on Monday said it had won a preliminary order from a Chinese court banning the importation and sale of several Apple iPhone models in China that the court found violated two of Qualcomm’s patents.

The preliminary order affects the iPhone 6S through the iPhone X. The ruling came from the Fuzhou Intermediate People’s Court in China, the same court that earlier this year banned the import of some of memory chip maker Micron Technology’s chips into China.¬†Qualcomm initially filed the case in China in late 2017.

The court found Apple violated two of Qualcomm’s software patents around resizing photographs and managing applications on a touch screen.

“Apple continues to benefit from our intellectual property while refusing to compensate us,” Don Rosenberg, general counsel of¬†Qualcomm, said in a statement.

Because the patents concern software, Apple could make changes to its software to avoid the patents and still be able to sell its phones.

The patents in the suit, which Qualcomm said on Monday had been upheld by the Chinese patent office, are separate from those being contested in other cases in its wide-ranging legal dispute with Apple. Qualcomm has also asked regulators in the United States to ban the importation of several iPhone models over patent concerns, but U.S. officials have so far declined to do so.

The specific iPhone models affected by the preliminary ruling in China are the iPhone 6S, iPhone 6S Plus, iPhone 7, iPhone 7 Plus, iPhone 8, iPhone 8 Plus and iPhone X.