I learned quite recently that European railroads are all electric
I seriously doubt that all the wind and solar capacity in Europe is great enough to even run their railroads
Other European countries should follow the French nuclear power model.
American railroads for long distance hauls are electric also. Powered by electricity generated by diesel-fueled generators.