The EU has agreed a compromise on future tougher CO2 limits that have been opposed by German OEMs and the German government.