Romania is set to amend a law requiring retailers to buy at least 51% of food and agricultural products from local producers, after the European Commission launched infringement proceedings saying the country had breached EU laws.