Singer George Michael has pleaded guilty to driving under the influence of drugs and possessing cannabis.
The 47-year-old was handed a six-month interim driving ban and is due to return to court for sentencing on 14 September.
Michael was told by the judge that his offences were "a serious matter" and he could face imprisonment.
The pop star was arrested on 4 July in Hampstead, north London, after he crashed his car into a shop.
The court was told that a police patrol found him slumped at the wheel of his car in the early hours of 4 July.
The engine was still running and when police roused him he attempted to put it back in gear.
Police suspected Michael had taken drugs as he appeared "spaced out", was sweating profusely and had dilated pupils.
He was arrested and taken to Hampstead police station where he was found to be carrying cannabis cigarettes.
A blood sample found chemicals linked to cannabis were in his system, while there were no traces of alcohol.
http://www.bbc.co.uk/news/entertainment-arts-11070361