... Why is there no fence?
Seriously, You could EASILY implement a fence going up to prevent these kind of dilemmas and than to burrow under when the train has reached the station.
Also, dipshit parents are to blame here. Do they WANT their kid to die? You can't blame the kid here, seriously. You're mostly oblivious to the worlds dangers at the age of 10.
EDIT; Since I had nothing better to do, I took my time to read through all the comments. And I am literally feeling sick from reading some of them.
Or perhaps that was just my breakfast... Anyhow, if anything is to be wished death upon, is the elitist bigotry attitude that it seemingly going rampant like wildfire. It helps no one, and sure as hell puts no one in a good light.