Note that this is for diesel trains. While likely most of the length of the track won’t be electrified soon, essentially all tracks in western Europe (France, Germany, possibly Poland) are already electrified. This means that using nuclear or renewable energy generation, the trains can run emission-free there, in particular avoiding the strongly localised particle emissions by ships in and around harbours.