Since you did not reckon probably without the "brand" manufacturer Brio:
The locomotive derailed frequently, the slope of a simple bridge does not create and ergonomics lecture has the designer probably overslept.
The switch for the combined switching and forward and backward driving is totally impractical. Even for an adult, it is possible only with great caution, the switch to move to the center position to turn off the engine. Too easily we slip on forward or backward. For small children it is almost impossible. Ergo let the kids run easily.
Result: The locomotive always drives in some hidden corner of the nursery (preferably under the cabinet) and there ömmelt the battery is empty. It is rather a search toy than a locomotive.
The solution would be SOOOOO simply: What's missing is a switch that detects when stopped on the tracks. Only then, the motor is on. If this man were positioned centrally behind the barriers stop button, both functions would not even bother.
But I would not even awarded a star for the part.