A man who soiled a police van after being arrested for creating a disturbance has been described by a sheriff as "utterly repulsive".
A court was told Dean Dalgleish, 25, also urinated on police handcuffs after he was arrested in Dunblane in February.
Dalgleish was jailed for seven months after admitting two charges of threatening and abusive behaviour.
His solicitor said Dalgleish was "ashamed and disgusted" at his actions.
Stirling Sheriff Court was told that police were called to Dunblane's Perth Road after reports that Dalgleish was drunkenly shouting and swearing at his girlfriend.
He wouldn't leave voluntarily, and had to be cuffed.
Prosecutor Laura Knox said Dalgleish began to struggle after refusing to leave.
She said: "He managed to bring his handcuffs to the front, pulled down his trousers, and urinated on them."
Mrs Knox said Dalgleish also "deliberately defecated", fouled the police van, and threatened to smear excrement on the officers' faces.
The vehicle, initially en route to Stirling police station, had to be diverted to Livingston so Dalgleish could be placed in a special cell.
Mrs Knox said: "The cost of cleaning the police vehicle was £108 and the handcuffs had to be destroyed."
Claire McCarron, defending, said Dalgleish had been drinking all day.
She said: "He is totally embarrassed, ashamed and disgusted by his behaviour.
"He would never have acted in such a way if he had been sober.
"He realises it must have been horrific for the police officers."
Mrs McCarron said Dalgleish, who is also a qualified joiner, had "a good work ethic" and had been working for the Forestry Commission as a tree planter.
Sheriff Wyllie Robertson told Dalgleish his behaviour had been "utterly repulsive".
He said: "The risk of transmission of infection is obvious."