Beijing attacks ‘arbitrary’ moves and says it will file WTO lawsuit