A Grantham woman has pleaded guilty to trespassing the railway lines at Sleaford station.
Stacey Macdonald, 36, of Burrows Close admitted to committing the offence on July 4.
Prosecutor Shelley Wilson related how at about 5.30pm Macdonald was seen from the signal box jumping down from platform one and crossing the tracks over to platform two.
The member of staff then went to speak to Macdonald who after a brief discussion walked away.
However when an oncoming train was heard they then saw that again Macdonald was crossing back to platform one, which forced the train to sound its horn and apply the brakes.
When Macdonald trespassed the railway lines for a third time the police were called, and she told them that she was going to the other side to speak to her ex-partner, while also admitting that she had been drinking alcohol.
Chris Pye-Smith, defending, said that his client had co-operated with officers and asked for an adjournment so that magistrates could deal with this offence at the same time as other matters for which Macdonald is attending court on July 28.