A driver was "hot-headed" and abused gardaí because he was aggrieved that they had stopped him, a court heard.
Ciaran McNamara (22) was pulled over by gardaí last February 29 because they believed his driving had been erratic.
Judge Dermot Dempsey fined him €150.
The defendant, with an address at Edenmore Avenue, Coolock, admitted threatening and abusive behaviour at Malahide Road, Dublin 17.
Garda Ultan Larney told Swords District Court that gardaí were on patrol at around 3.30pm when they stopped a vehicle they said was being driven erratically at the Centra store.
Gda Larney said McNamara was aggressive and abusive toward officers.
The court heard the defendant had never been in trouble before.
Defence lawyer Annette Kealy said McNamara had since apologised to gardaí for his behaviour.
She said her client accepted he had been hot-headed and had spoken to gardaí in a manner he regretted.
The lawyer said McNamara was "aggrieved on the day that he'd been pulled over" and this was what had caused him to behave the way he did.
Ms Kealy said the defendant lived at home with his mother and sisters.
He was working in a factory, was a kayak instructor and played five-a-side football.
Ms Kealy said McNamara was sorry and he should not have done it.
She said the defendant had €200 in court if the judge was willing to accept a donation to charity and leave him without a conviction.
Judge Dempsey refused to accept a charity donation and convicted and fined the defendant.