A woman disrupted the rail network for more than three hours after she staggered along the tracks.
The delay cost the railway more than £800 when Kate Housley went under a rail bridge and curled up in a ball on an embankment near Lytham.
Housley, 21, of The Willows, Clifton Drive, Lytham, pleaded guilty to an offence under the Malicious Damage Act of 1861.
She admitted trespass causing a railway engine and carriage to be obstructed.
She was sentenced to a 28 days electronically tagged curfew from 8pm to 8am and ordered to pay £375 compensation to Network Rail plus £60 victims’ surcharge by Blackpool magistrates.
Presiding magistrate, Elizabeth Lynch, told Housley: “Not only did you put yourself in danger, you could have endangered the lives of the people on the train and this incident also caused major delay to travel plans.”
Paul Foster, prosecuting, said the driver of a train stopped at Lytham station and saw Housley on the edge of the platform on December 27 last year.
She suddenly disappeared.
She had gone onto the lines and then under a railway bridge. Police were contacted and arrived at 8.45pm. Officers found her curled up on the embankment beyond the bridge.
When interviewed by police Housley said she did not remember much. She had been drunk and she had smoked which made her pass out.
Mr Foster added: “British Transport police say there was a 198 minute delay to the rail network at a cost of £816.85.”
Michael Ball, defending, said Housley had asked him to pass on her apologies to the rail network and passengers.
She and her boyfriend had been drinking at The Railway pub next to the rail line.
She had then been given a roll-up cigarette to smoke. She now believed it must have contained drugs.