A shopping centre security guard was repeatedly whacked with a baguette when trouble broke out at a Greggs bakery.
An argument started after Jason Ellis was told to stop touching cakes by the security man who was also waiting in the shop queue.
The situation turned into a physical struggle and Ellis grabbed a baguette and repeatedly hit the security man over the head.
Ellis, 28, of Scott Street, Dunfermline, admitted on September 26 at the Kingsgate Centre, he assaulted Philip Whiller by repeatedly striking him on the head. He also admitted he shouted, made a threatening remark, damaged stock and refused to desist.
Ellis further admitted on October 16 at Garvock Terrace, he assaulted David Gordon, acted aggressively, punched him on the head and attempted to bite him.
Depute fiscal Dev Kapadia said: “The security guard saw the accused pushing and prodding cakes.
“He told him not to touch the food items if he wasn’t going to buy them. Ellis said ‘What would happen if I punched you?’ and began shouting. The accused then took a baguette and struck him on the head with it. Some cakes that had been damaged during the incident and could not be put back on sale.”
The other incident occurred when 54-year-old Mr Gordon was working on his car when an intoxicated Ellis became aggressive and said: “I’ll have you” and “I’m going to stab you.” There was a scuffle between them and Mr Gordon was punched on the head.
Sheriff Charles MacNair imposed a community payback order with two years’ supervision and a one-year restriction of liberty order.