Authorities in south-west Germany are banning older diesel cars from driving in the city of Stuttgart from next year.
The measure is intended to reduce levels of fine particulate matter found in diesel emissions that are harmful to human health.
Stuttgart, capital of Baden-Wuerttemberg state, regularly reports particulate levels far above the permitted levels.
Its location in a bowl-shaped valley makes the city, with almost 600,000 inhabitants, prone to persistent air pollution.
The measure was passed by Baden-Wuerttemberg's state government, a coalition of the environmentalist Green Party and Chancellor Angela Merkel's Christian Democratic Union.
It means only diesel cars that meet the Euro 6 emissions standard for light passenger and commercial vehicles can drive in the city from 2018.
Stuttgart is home to German car makers Mercedes-Benz and Porsche.