The European Union and Germany have reached a deal on the future use of combustion engines, officials said on Saturday, an issue that has been closely followed by the auto industry.

The bloc and its largest economy had been at odds over the planned 2035 phase-out of CO2-emitting cars, but leaders signalled in recent days that they were close to a resolution.

Germany had wanted assurances that new combustion engine cars can be sold beyond the deadline if they run on e-fuels - a request supported by parts of Germany’s powerful car industry.

“We have found an agreement with Germany on the future use of e-fuels in cars,” Frans Timmermans, head of EU climate policy, said on Twitter.

German Transport Minister Volker Wissing said “the way is clear” with the agreement reached late Friday.

“Vehicles with internal combustion engines can still be newly registered after 2035 if they fill up exclusively with CO2-neutral fuels,” he said in a post on Twitter.