Until electrification is not complete they can't train all the staff there on Electric loco, so some trains will run on diesel loco in electrified territory
And of course, you need to have those many locos available; sparing two locos for one train isn't something feasible for many trains as wadi-sur-dd is quite busy.