A chef threw a kitchen knife at a co-worker and kicked him a number of times during an argument in the "heated atmosphere of a busy kitchen".
Ahmed Bem Aicha (47) lost his job as a result of the assault.
It was also alleged the men had thrown racial insults at each other.
Judge John Lindsay ordered Aicha to pay compensation to the victim, and adjourned the case for a victim impact statement and sentencing.
The defendant, of Ballymanus, Castlepollard, Co Westmeath, admitted before Tallaght District Court to assaulting a co-worker.
The assault took place at Marlay Nursing Home, Kellystown Road, Rathfarnham, on January 25.
Garda Sergeant Eithne Madden said the victim made a complaint to gardai, claiming Aicha had assaulted him by throwing a knife at him as he left a kitchen, narrowly missing him.
Sgt Madden said the victim was also kicked in the chest and head a number of times.
She said the victim suffered some bruising but did not require medical attention.
The court heard Aicha had never been in trouble before.
Defence lawyer Stephen Montgomery said that the defendant was originally from Tunisia, but lived in Westmeath with his wife and two children.
Mr Montgomery said Aicha trained as a chef, and had worked in a number of top hotels and restaurants in Ireland.
He said the defendant lost his job as a result of the incident.
Mr Montgomery said the assault took place "in the heated environment" of a busy kitchen and there were "racial slurs" from both parties.
The court heard Aicha was very sorry for his behaviour, and had written a letter of apology to the court.
Mr Montgomery said Aicha was applying for Irish citizenship.
He asked the judge to leave Aicha without a conviction, saying he had already paid a high price for the assault.
Judge Lindsay ordered Aicha to pay €400 compensation to the victim and a further €200 to the Irish Handicapped Children's Pilgrimage Trust.
If the money was in court on the next date, Judge Lindsay said he would consider striking out the matter.