I wouldn't assume that there's a direct relationship between diesel engines still being around and diesel engines still having an advantage over others. Not having to replace your fleet of trucks, buses, trains or whatever is a big enough advantage for most companies.
Also, importing energy from other countries isn't a sign of poor energy production. If buying energy from you costs me less than turning my power plant on for a day I'm gonna shut it down and call it a day. Not to mention the fact that energy prices are sometimes negative (i.e., they pay you for taking it).