A 25-year-old man has claimed he was sexually assaulted at T in the Park.
Jamie McLennan repeated the claim as he appeared in court on Thursday to admit brawling with police during the event at Strathallan Castle Estate in Perthshire.
Perth Sheriff Court was told that McLennan had attracted police attention because he had been acting strangely on the festival site.
Depute fiscal Tina Dickie said: “Police were made aware of his presence because he was acting strangely and it was immediately apparent he was severely under the influence of alcohol or drugs.
“He initially made the allegation that he had been sexually assaulted and began acting very erratically, which caused police concern.
“They took a hold of him to prevent him running off.
“He was doing anything he could to attract the attention of passers-by. Medical staff intervened and deemed it appropriate to take him to the medical tent.
“However, his ongoing behaviour made it impossible. He became aggressive and was struggling with police officers so he was taken to the police station.
“On the way he was kicking the cage and making threats.”
McLennan, Faulds Wynd, Aberdeen, admitted behaving in a threatening or abusive manner at T in the Park on July 11, struggling with police and threatening them.
Solicitor Keidra Morrison, defending, said: “This would appear to be a rather distressing situation he found himself in.
“His father received calls from him at the event stating he had been sexually assaulted.
“When police did see him he was frantically looking for his friends. He was obviously distressed.
“He apologises for his behaviour, but you can see the reason behind it.
“In relation to the allegation, there are matters that are still to be investigated in relation to that.”
Sheriff Kevin Veal noted that McLennan had only been freed from jail two weeks before T in the Park and he sent him back to prison for three months.