If I remember correctly, the accusation from western country regarding the restriction is that China decide to restrict rare earth element export and increase export price, but internal price will be much lower, which WTO considers as unfair advantage for Chinese companies.