Diesels may have been demonised over the past couple of years but carmakers are keeping the faith even though sales have dipped in many markets.