A festival-goer who admitted having drugs at the Carnival Fifty Six music festival told Dundee Sheriff Court he had been under stress because his brother had died.
Cameron Robb, 39, of Bell Rock Square in Broughty Ferry, represented himself during his appearance.
Robb admitted that on August 12, at the festival, he possessed ecstasy and diazepam (Valium).
Fiscal depute Lynne Mannion told the court Robb was found with five tablets of ecstasy — worth £10 — in his possession.
A search also recovered two diazepam tablets, worth £2.
Robb told the court he had been under stress at the time as his only brother had died a few weeks previously.
Sheriff Alastair Carmichael told Robb the sentence he had in mind was three months deferral to allow him to be of good behaviour.
The sheriff told Robb that if he accepted that — and if a report confirmed that he had been of good behaviour when he came back to court — he would deal with the case leniently.
He added: “If you haven’t been of good behaviour then I will have to find some other way of dealing with this case.”
Robb said he accepted the terms of the disposal and the case was continued until May 23.
Carnival Fifty Six attracted 16,000 revellers to Camperdown Park last August. The event featured acts such as Rudimental, Mark Ronson and The Charlatans.
But in February, the Tele revealed that the event had been cancelled after just one year.
In an official statement, the group behind the event said it will explore the “future direction” of Carnival Fifty Six and hopes to return in 2019.
The festival, hailed a huge success by attendees and businesses, was the first major event to be held at Camperdown Park since Radio One’s Big Weekend in 2006.
Following the event, Superintendent Graeme Murdoch of Tayside Division said there were 23 incidents of people being found in the possession of suspected controlled drugs. Police made four arrests, two for assaults and two for breaches of the peace.