A former sheriff has admitted making sexual and racists remarks during an online call after forgetting to switch off his microphone.
Alastair Duff, a former advocate and sheriff, was previously the director of the Judicial Institute of Scotland.
On Monday, the 69-year-old admitted making the comments at his home during an online training course in October 2021.
The remarks were made during a break in the WebEx meeting for justices of the peace.
Some of those in attendance overheard Duff speaking on a phone call. They reported the incident to the police.
An investigation found Duff had been speaking with another man whose home was then searched.
Police discovered he had been watching porn showing a man and a woman dressed in school uniforms having sex.
The man has since died.
Sheriff Douglas Keir described the charges against Duff as an “anxious and troubling case” that had caused “disgust” to those who overheard the comments.
He said he took into account that Duff is a first time offender but also considered the position he held at the time.
Duff was fined £1,275.
Follow STV News on WhatsApp
Scan the QR code on your mobile device for all the latest news from around the country