I think it's supposed to represent an updated version of Charon's ferry from Greek mythology. I don't think the train is magical, or an esper, so the destruction of magic wouldn't have any effect on it.