If there isn't adequate time to train for the race you originally intended to run, either select another event a few months later or register for some shorter events such as a 5k or 10k.
Please let it be a prank. "Youngsters on the track are a regular event, though no less frightening for that, and for train drivers it's something we learn to live with."