I don't think the NOx emissions from a diesel passanger car are a major issue but NOx as an emission is more immediately hazardous to health than CO2
Which is what will kill diesels in the end. EU6 will make small diesels uneconomic to produce/buy. EU7 will probably end it.