British Transport Police and Network Rail are issuing a stern warning after a man forced a train to apply its emergency breaks at a level crossing in Hull.