A crooked security guard who helped himself to over £1000 worth of booze in a single weekend from a warehouse he was supposed to be guarding was spared jail last week.

Andrew Campbell was told he had committed a serious breach of trust - and ordered to pay back the value of the drink.

He was also placed under supervision for 30 months, and ordered to carry out 300 hours of unpaid work.

Last Wednesday, Stirling Sheriff Court was told that Campbell, 32, was the only employee on duty that weekend at transport and storage giants Barbour European - and thought he would get away with his crime because the building's CCTV was faulty.

But it had corrected itself and was in fact recording his every move.

Adrian Fraser, prosecuting, told Stirling Court that Campbell started his shift at 6.30pm on Friday, November 13, 2015.

Mr Fraser said: "He was the only member of staff on site and he would have been the only member there for the weekend, and he'd been told at the start of his shift that the CCTV system wasn't working.

"However that turned out not to be the case."

About 8.40pm on the Friday night, the system recorded burly Campbell walking onto the warehouse floor, doing a walk-around, and then stopping at a pallet and pulling a box open, before selecting "a number of bottles of spirits", re-sealing the box, and going back to his office.

He did the same thing again at about 9.50pm the next night, "selecting spirits as before".

Mr Fraser said: "To complete the weekend, he was seen on CCTV on the Sunday, stopping a pallet, and again removing bottles of spirits from a box he had opened."

The depute fiscal said that on the Monday, an employee at the warehouse noticed a box with a lid that appeared to have been "taped down in a strange manner".

Mr Fraser said: "When he opened this box, it was almost completely empty.

"A stock check revealed at least 40 bottles of spirits were missing, worth a total of £1069.

"The CCTV was checked and it revealed the events narrated."

Police went to Campbell's home, but found he had moved. He was finally arrested on February 16, 2016. None of the spirits taken were ever recovered.

Campbell , of Raploch, Stirling, pleaded guilty to theft from Barbour European's base at the city's Broadleys Industrial Park.

Solicitor-advocate George Pollock, defending, said that Campbell had no previous convictions, and had been educated at a special needs school.

Sheriff Wyllie Robertson told Campbell: "The element of breach of trust is a serious aggravation in this case, and it's one which leads the court to consider a custodial sentence. However you have no previous convictions.

"A Community Payback Order with an element of unpaid work and compensation is a viable alternative, and that's what I will impose."

Campbell was told to pay the compensation, of £1000 , at £10 a week.

Sheriff Robertson warned Campbell that if he breached the terms of the Order, he would be jailed.