A man who drunkenly flashed at a train has dodged jail.

Arron James McConville, 30, pled guilty to three charges at Kilmarnock Sheriff Court last week.

The court heard that at around 9.30pm on May 27, a conductor on a stationary train at Stevenston Station saw McConville on the opposite platform.

Just before the train pulled away, McConville dropped his shorts to his ankles, exposing his private parts to the train. He then placed his hand on his intimate bits and lifted them up and down.

A CCTV operator who was monitoring McConville then saw him board another train which was headed to Johnstone. Officers were sent to meet the train at Johnstone station, where McConville was arrested.

Police tried to apply handcuffs but McConville resisted, holding his arms tightly against his chest whilst shouting and swearing. He was placed in the back of a police vehicle where he continued to shout, telling officers: “You f*****’ pair of a***s, you’re getting done for this.”

Solicitor Mr McCaig said: “It’s clearly drunken behaviour.

“He travelled to the coast with his girlfriend. He took more drink than is good for him. He is not a drinker and is certainly not used to taking excessive alcohol in hot weather. He became embarrassing.

“The likelihood of repetition is extremely low.”

Sheriff Alistair Watson said that McConville was “very lucky” that the incident was being dealt with as a breach of the peace and not something more serious.

He added: “This is not sexual misconduct, it’s just extremely boorish behaviour.

“This was just appalling behaviour, loutish behaviour, and you placed yourself at a significant risk.

“It’s very common for this in a similar charge to end up on the Sex Offenders Register.

“I’m satisfied from the evidence I’ve heard that this didn’t have a sexual motivation, it was just appalling behaviour.

“Given the relatively long time you haven’t been in trouble and that you seem to have been law abiding I will go down the road of a Community Payback Order.”

McConville, of Glasgow, was ordered to carry out 100 hours of unpaid work in the community as an alternative to custody.