European Union countries agreed to back Brussels on the deal it negotiated with Beijing to end the trade dispute that has stranded millions of unlicensed Chinese-made textile products at European ports .