Yesterday, the Beijing Intellectual Property Office determined that Apple’s iPhone 6 and 6 Plus violate the patent of a Chinese phone maker, and as such, Apple should stop selling its devices in the city, The Wall Street Journal reports. The company, Shenzhen Baili, argues that Apple’s phone design is lifted from its 100C phone. Although the Intellectual Property Office found the devices to be different, it also said the differences were too subtle for general consumers to notice. Apple is appealing the decision and continues to sell its iPhones in Beijing and China more broadly.

The decision follows multiple setbacks for Apple in China, including the shutting down of its iTunes Movies and iBookstore. In May, the company also lost the rights to the iPhone name. Still, Apple continues to view China as essential to its success. CEO Tim Cook and other executives mentioned the country multiple times during its WWDC keynote earlier this week, including a shout out to dim sum.