Genuinly curious - can locomotive run on batteries (which it drags behind it, in a form of a train car) for the tracks which are not electrified? Or is the cost (or sth. else) prohibitive?
Linking German Wikipedia because it has long history of them and current projects,