A bakery worker ended up with a financial headache when he lost his temper and nutted a £27,000 computer controlled sausage roll making machine.
Shane Thompson was ordered to pay lots of dough by a court after head butting the display screen because the equipment was not working properly.
The 22-year-old saw red and smashed his forehead into the touch screen, causing a six inch by four inch crack in the display, Scarborough Magistrates heard.
The pastry worker was then carpeted by bosses who told him the crack would cost £2,500 to fix, Prosecutor Kathryn Reeve told the court.
The baker had been working for Yorkshire Baker for 17 months when his frustration boiled over.
Thompson has since found a new job as ride operator at the Flamingo Land theme park.
But his former bosses docked £295 from his wages to cover the cost of the damage and wanted the £3,204 balance, the court heard.
Defending solicitor Robert Vining said: “The defendant is at a total loss to understand how butting a glass screen and cracking it results in that piece of equipment being worthless.
“He admits he became frustrated with the equipment. It was not making the pastry properly so he lost his temper and head butted the glass screen and cracked it.”
Thompson, of Princess Road, Malton, admitted criminal damage while working for Yorkshire Baker on the Norton Grove Industrial Estate in July.
He was given a 12-month conditional discharge and ordered to pay £720 compensation towards the cost of repairing the machine.
An order was made to take the money out of his wages. But he escaped paying a surcharge and £85 court costs due to priority being given to the compensation order.
The case was stood down for inquiries to be made into whether the Swedish made machine could be repaired more cheaply.
But it emerged while the overall value was £27,000 the touch screen, which was a vital part of the process, would cost £2,500 to fix on its own.