It's not a DfT requirement, as with a couple of recent exceptions, they don't specify or buy the trains.
It is a requirement of the people who buy the trains, ie the leasing companies. The concept is residual value.
If you are spending upwards of £5m on an asset (a train), but only have security of income from that assets for the length of a franchise (7-10 years), you want to make sure it has the widest possible future use at the end of the lease period. Whilst it is likely that the train will find continued use with the successor franchise, this is by no means certain. See class 707.
Therefore, if you specify a train designed for DC traction with a pantograph well and a few other bits necessary for conversion to AC traction (space and mounting points for the main transformer, cable runs, space for equipment boxes) you will get that at practically no cost. Indeed if the factory is already making similar AC trains they can use the same design and manufacturing jigs, which actually makes it potentially cheaper. Then if the lease runs out, and the new franchisee doesn't want the trains (see class 707), it is a much cheaper job to convert them to AC than to start cutting holes in welded aluminium bodyshells, and shifting kit around underneath the train.
This means that the chances of finding a future user for the train is higher, which makes the future value (residual value) of the train is higher, which in turn means that the leasing company can then take the risk of lower lease charges for the train when new, as it will be more likely to make money on it in later life.