Volkswagen has decided to convert three of its factories in Germany to EV compliant units to ramp up production of zero-local emission cars ahead of tougher European emissions standards.

According to an official statement that was issued by the company, it will first commence the local production of electric-powered vehicles at its facilities in Emden and Hannover in 2022. Meanwhile, a plant in Zwickau was already assigned e-car productions.

Following a few interviews this week, Volkswagen CEO Herbert Diess stated that the company has arranged batteries and made preparations to build around 50 million EVs.

Reports citing official sources stated that the workers were given a jobs guarantee through 2028. However, the company is expected to lay off some jobs “in a socially responsible way” as EV production involves fewer manufacturing steps.

This move can be considered as one of Volkswagen’s primary steps to tackle the new European Union rules on greenhouse gas emissions from 2021. Volkswagen along with a few other companies had bet heavily on diesel models in their line-up which yields better fuel efficiency than gasoline-powered vehicles. However, this accelerated global warming, according to scientists.

Ever since VW tangled itself in the infamous Dieselgate scandal, overall diesel sales have eroded in Europe. Serious investigations post the scandal found out that other carmakers’ vehicle emitted more nitrogen oxide pollution in real-life driving than during tests.