“…electric trains don't burn fossil fuels,”
Very true, mushroom – if you’re considering just at the “point of use”. However the UK’s electric railways draw their power from the National Grid. Since over 40% of the Grid’s power comes from coal and gas it is reasonable to assume that the same percentage of fossil fuel conversion is used to power the trains.
It is not practical to simply compare diesel and electric locomotives as diesel locos have to carry their “prime mover” (the diesel engine) and fuel around with them. As a very rough comparison class 91 locomotives (which, apart from those used on the Channel Tunnel Shuttle trains are among the most powerful electric locomotives in the UK and run on the East Coast Main Line) weigh about 80 tons and have a power output of about 6,300 horsepower. By contrast Class 66 diesel locos (mainly used for heavy freight haulage) are about seven feet longer, develop considerably less power (about 3,500 horsepower, depending on the variant) but weigh in at almost 130 tons. The 91s have the “Bo-Bo” wheel arrangement (eight wheels) whilst the 66s have the “Co-Co” setup (12 wheels). The extra wheels on the 66s are needed to carry the additional weight but also give the locos a tractive advantage. The 91s would be very difficult to use on the sort of trains that the 66s haul (heavy freight up to 1,200 tons for a single loco) and in fact, because of their considerably lower “tractive effort” (pulling ability) would probably be unable to start such a train at all. Conversely the 91s maximum speed is 140mph (and they have been recorded at higher speeds than that) whilst the 66s are limited to 75mph. In essence the 91s are racehorses and the 66s are the heavy horses used for ploughing.
In the UK a mixture of loco types is needed and will continue to do so probably indefinitely. This is because the majority of the network – especially the branches used mainly for freight – are not electrified and are unlikely to be converted because of the high capital costs..