A stonemason caught driving while uninsured had an altered disc on his car windscreen made up of two documents cut in half and stuck together, a court heard.
Adam Lisiecki (38) had six previous convictions to his name for uninsured driving at the time of the offence and had "an appalling driving record", a judge said.
Judge David McHugh ordered him to complete 200 hours of community service in lieu of four months in prison and disqualified him from driving for five years.
The defendant, of O'Connor Park, Longford, pleaded guilty to driving without insurance or a licence at Newcastle Road, Lucan, on June 18, 2017.
Gda Leanne McDonagh told Blanchardstown District Court she stopped Lisiecki driving shortly after 7pm on the date in question.
Gda McDonagh said the insurance disc on the car windscreen had expired.
When she examined it, it was discovered that it had been altered, and that two discs had been cut in half and stuck together.
She also told the court that Lisiecki did not have a valid driving licence when he was stopped.
The court heard Lisiecki had six previous convictions for uninsured driving and, most recently, had received a five-year driving ban.
Defence solicitor Terence Hanahoe said Lisiecki was originally from Poland and had lived in Ireland for the past 14 years.
Mr Hanahoe said his client was married and had been working as a stonemason, though he was currently out of work.
Mr Hanahoe asked the judge not to jail the defendant, saying he knew he would not be driving again.