China agreed in June to quotas in its textile exports to the EU .