The man committed the offence while on a suspended sentence.
A court’s heard police arrested a drunken man after he headbutted a wall and tried to interfere as a friend was taken into custody by police.
Eoghan Thewlis of Fistard Road in Port St Mary appeared before magistrates at Douglas Courthouse.
He pleaded guilty to a single charge of being drunk and disorderly on Station Road in Port Erin on August 26.
Prosecutor Barry Swain told the hearing officers warned the 20-year-old to stay away as they arrested his friend, but he grabbed his friend’s arm and threatened a group of onlookers shortly after 11pm.
After hearing Thewlis was serving a suspended prison sentence imposed earlier this year for drugs offences, magistrates told him if he’d gone home when police told him, he wouldn’t have been in the dock.
They fined him £400 and ordered him to pay £50 costs, but didn’t activate the suspended sentence.
Framework of new Sea Services Agreement ready, says minister
Attorney General says he's stepping down
Road closures in two towns for running event this week
Six weekend ferry crossings could face disruption
President of Tynwald announces retirement
Police close Mountain road
Fuel firm says "fingers crossed" for calmer energy costs
Ring doorbells will need data protection registration - but shouldn't cost you money