In order to avoid an all-out war on diesel, carmakers have agreed to reduce the engines' pollutants.

After Volkswagen was caught cheating on diesel emissions in 2015, the world of alternative fuel hasn't been the same. Across the world, organizations and governments began their own investigations into just what was going on in the industry—and now, those inquiries are beginning to bear fruit. On Friday, a group of car manufacturers came to a consensus that they would effectively eat the cost of deploying a software fix in order to avoid an all-out diesel ban in many German cities.

German auto manufacturers have been working together since July 4th, 2017 in order to achieve an actionable plan ahead of a meeting scheduled with German politicians, including the German transport minister, on August 2nd. This plan would need to create some sort of reasonable plan for manufacturers to appease lawmakers enough to avoid an all-out ban on diesel cars in some cities, including the national capital of Berlin and the automotive capital of Stuttgart.

The agreement fashioned by manufacturers will cost around the industry around 100 Euros per affected car, totaling an overall expense of just under 2 billion Euros ($2.33 billion) to remedy all issues. It also involves the recall of 850,000 additional vehicles sold by manufacturers under the Volkswagen AG umbrella, including ones by Audi and Porsche. In most recalled vehicles, only emission software would require an update;some five, six, and eight-cylinder diesel engines would be replaced at no charge to the customer, however.

After modifications are made to engines and software, manufacturers believe that pollution will be reduced by around 20 percent. It is their hopes that when meeting with the German transportation minister next month, this will be enough to avoid an outright ban in popular cities.

The scare by the German government to ban diesel cars from cities is no surprise, as some European countries—Germany included—have set a end-of-life timeline for the internal combustion engine altogether. France recently joined Germany in this aspect, announcing a country-wide ban that would begin in 2040. Even Porsche has considered leaving its diesel lineup in the dust in favor of electricity, a bold stance similar to the one Volvo took a few weeks prior. Automakers will need to continue to appease regulations to prolong the relevance of their powertrains in many progressive cities and countries.