Mazda Motor has said it would continue to develop diesel engines even as an increasing number of global carmakers turn their back on the 125 year old technology.