An Estonian man is facing deportation after receiving a two-year jail sentence for throwing excrement on Perth prison guards.
The attack by Dimitri Satov, 26, left one prison guard with faeces in his ear and two other officers splattered on their face, arms and body.
The guard scrubbed himself so hard to clean the excrement from his ear and body that he began to draw blood and has not returned to work since.
Satov, now a prisoner in Barlinnie, could not explain why he committed the assaults.
Sheriff Fiona Tait heard he had a lengthy list of crimes on his record both in Scotland and in Estonia.
Procurator fiscal Gavin Letford said Satov committed the attack when he re-entered the prison after exercising alone in the prison yard.
Mr Letford said that the three officers went to the staff showers where one guard discovered the faeces in his ear.
He said: “When drying himself he found blood, but this was due to vigorous scrubbing.”
He added that the guard remains off work and does not yet have a return date.
Solicitor Peter Robertson said his client had been serving a jail sentence for thefts in the Kirkcaldy area.
He added: “He advises me he has been provided with a final letter from the Home Office and when released will be deported to Estonia.”
At Perth Sheriff Court on Tuesday, Satov admitted that on December 1 2014 at HM Prison Perth, he assaulted three prison officers by throwing excrement at them, striking them on the body.
Sheriff Fiona Tait said the assault on officers who were “simply doing their jobs”, was of a “particularly distasteful and nasty nature”.