A NINE-year-old boy was assaulted by a man following an argument over a football at a playing pitch, a court heard.
Bernard Farrell (25) "lost his temper" and 'shoved' the child.
Judge Denis McLoughlin ordered a restorative justice report and adjourned sentencing to a date in October.
Judge McLoughlin said he will be lenient if Farrell completes the programme.
The defendant, with an address at St Catherine's Foyer, Marrowbone Lane, Dublin 8, admitted before Dublin District Court to assaulting the child on July 27 last.
The court that the assault took place following a verbal altercation between the defendant and a nine-year-old boy over a football at Marrowbone Lane.
The defendant then shoved the boy, who did not suffer any injuries during the assault.
A garda said Farrell did not know the child, who was one of a number of young people who regularly congregate on the astroturf playing pitches to play football.
The court heard that the defendant has never been in trouble before.
Defence solicitor Stephen O'Mahony said Farrell was living at St Catherine's Foyer, a hostel for the homeless, for a few months but he now has moved into rented accommodation.
Mr O'Mahony said Farrell was chasing after a ball, he got into a row with the child and he "lost his temper".
He said he believed the incident was a "one-off" and the defendant has been very anxious about the matter.
Mr O'Mahony said Farrell is originally from the Coolock area but has been homeless since he was 18 years old, and he has no contact with his immediate family.
The court heard the defendant, who is unemployed and on social welfare, is hoping to go to college.
Mr O'Mahony also said that Farrell has no drink or drug problems.