A Glasgow man staggered topless across a busy dual carriageway and shouted at sheep in a field before opening a stranger's car and urinating on a nine-year-old boy.
Thomas Degnan, from Cranhill, Glasgow, caused chaos at a filling station before weaving across the A9 trunk road near the Gleneagles Hotel.
He forced a number of motorists to swerve out of his way to avoid striking him before he ended up in the field haranguing an innocent flock of sheep.
During the bizarre rampage he pulled open the rear door of a car and urinated on a nine-year-old boy who was sitting in the back.
Perth Sheriff Court was told that Degnan had urinated on a car and had been heard shouting and swearing by shocked witnesses to the incident.
He admitted acting in a threatening or abusive manner at Loaninghead Filling Station, on the A9 near the Gleneagles slip road and in an adjacent field on 28 May last year.
Degnan admitted causing fear or alarm by repeatedly shouting and swearing and repeatedly striking the window of a vehicle occupied by a woman and a nine-year-old boy.
He admitted urinating on the car and then opening the door and urinating into it and onto the boy before staggering onto the A9 while he was not wearing a top.
The charge states that Degnan "forced vehicles to take evasive action" to avoid hitting him and that "whilst he was topless he did shout at sheep."
He admitted breach of the peace in court.
Degnan admitted a second charge of assaulting the boy by urinating on him, and a third charge of "urinating in circumstances likely to cause annoyance to others."
Degnan appeared for sentence after previously admitting the charges against him.
However, the court was told that he had given social workers information for a background report which did not correspond fully with his plea.
Solicitor David Holmes, defending, said: "In the report he has clearly stated he does not accept part of the charge to which the plea of guilty was tendered.
"On the basis of the plea tendered, and what is in the report, I certainly cannot proceed with it today."
Sheriff Francis Gill deferred sentence until next month.
Don't miss the latest news from around Scotland and beyond - Sign up to our daily newsletter here.