Old topic but to clear things up it isn't as generic as diesel is a hazardous area install Ex rated equipment.
A hazardous area is risk assessed and zoned according to the probability, frequency and duration of an explosive gas atmosphere.
It isn't down to you as an installer to risk assess and decide on the equipment required.
The area will be zoned, given a gas group for the gas present and temperature class for the ignition temperature of the gas present and its from this that you can select your equipment. The whole area isn't the same zone, areas are divided into different zones from 0 to 2 and then non hazardous.
The more ventilation the area has the safer it is, for example with regards to petrol pumps its only the area immediately around the nozzle which is of the higher risk/lower zone as you then have too much oxygen and inefficient fuel for the gas to be within its flammable range.
Also to clarify 60079-17 is the part of 60079 covering inspection and maintenance, there isn't a part including diesel as it isn't as specific as that. It covers inspection and maintenance for equipment within explosive atmospheres.
For what's its worth the diesel pump stations I have worked on over the years have not been classified as hazardous areas /explosive gas atmospheres but that isn't too say they all are.