A banned driver caught behind the wheel had agreed to take his daughter to Dublin Airport after not having seen her for 10 years.
Laurence Ilumah (52) had been "prevailed upon" to give his daughter a lift after she visited him, a court heard.
Judge David McHugh disqualified him from driving for another five years and told him to carry out 200 hours of community service to avoid a four-month prison sentence.
Ilumah, a hospital care worker of Avondale Park, Blanchardstown, admitted driving without insurance.
Blanchardstown District Court heard the accused, a father-of-three, was stopped by gardai on Old Navan Road last March 19.
Gardai on patrol at 4.15pm noticed the car had a broken brake light and when they stopped it they saw the tax, NCT and insurance had expired.
On carrying out checks, it was discovered that Ilumah was banned from driving. He was arrested and charged.
The court heard the accused had one previous conviction for uninsured driving and two for drink-driving.
Ilumah had arrived in Ireland from Nigeria 10 years ago and at the time of the offence one of his daughters - who he had not seen in that time - was visiting, the court heard.
The car was outside the house and he was asked to drive her to the airport, defence solicitor Terence Hanahoe said.
He knew he was completely wrong to do so and that his ban would now be increased.
Ilumah's intention was to not go near a car again, Mr Hanahoe said.
"He's right on the cusp of a prison sentence," Judge McHugh said.
"Should there be any further offences of this nature, this fellow knows where he is going."