I'm a little puzzled about why Shahid thinks this is 'funny', as it seems pretty obnoxious. The danger posed is not limited to Shahid but also the trains, their operators and passengers/freight.
But I'm also puzzled by your comment. Why should anyone put any of them on the tracks?