This is true although if on the same concrete island as a gas pump I treat them the same no matter the distance apart.
If they are close to each other the diesel dispenser may fall within the classified area for the gas dispenser and if so, then the electrical equipment within the classified area must meet the classification. Don