Why should China give a damn about European laws?
If Xiaomi only sold in China, they can do what they like.
Article 11
Freedom of expression and information
1. Everyone has the right to freedom of expression. This right shall include freedom to hold opinions and to receive and impart information and ideas without interference by public authority and regardless of frontiers.
I think you are wrongly informed.
This is not true.