A man who claimed he had been falsely accused of shoplifting spat at a security guard who had stopped him.
Avtandil Gutsaev (43) then back-slapped the security man as he walked away from him.
The defendant had been arrested on suspicion of theft and charged but later returned to the shopping centre.
Judge Anne Watkin adjourned the matter to see if Gutsaev was suitable for community service.
The defendant, of Moreen Walk, Sandyford, admitted before Dun Laoghaire District Court to assaulting a security guard at Dundrum Town Centre on May 26, 2015.
A garda witness said Gutsaev spat at the security guard's back.
He then back-slapped or swiped at him as he tried to leave the shopping centre.
There had been an earlier allegation of shoplifting, and Gutsaev was arrested and charged. The security guard he assaulted had been involved in that matter.
The court heard that, after Gutsaev was released by gardai, he came back to the shopping centre.
The allegation of theft, which Gutsaev denied, was later withdrawn.
Gardai said Gutsaev has eight previous convictions, mostly for theft-related matters, but has not been in trouble since 2010.
Father-of-four Gutsaev is originally from Russia but has lived in Ireland for 16 years.