I wouldn’t base too many decisions off NEDC fuel consumption figures. They are calculated off a rolling road test which lasts about five minutes, so not very accurate.
As a rule of thumb Diesel figures will be closer to real world figures but still higher. As soon as you Start adding more load, passengers, weight, towing, etc the gap gets wider and the diesel comes into its own.