Eliminating stray currents together with earthing the shit out out everything are a significant part (an easy part given planning and professionalism, but a significant retrofitting pain in the neck otherwise) of any railway electrification project, new or old, AC or especially DC, retrofit or new construction.