It seems crazily unsafe to me that railway stations have ticket barriers and yet we can still see crowds of people surging and shoving, as departures details are changed, whilst trains come and go between overcrowded platforms (we don’t let air travellers mill about runways).
Today’s invention is a modification to ticket barriers so that people can only move through them to the train side when the correct platform for the destination on their ticket has been displayed on the departures board and the train is stationary at the platform.
If I arrive with a ticket to Drumnadrochit I may have to queue briefly to get through the barrier when my train arrives but there is no point trying to get through to the dangerous side, where the trains are moving, until then.
Similarly, the barriers would restrict any more than the safe capacity of a given train from attempting to squeeze their way on.