A man who admitted possessing cocaine and cannabis resin has been bailed as he awaits sentence.
Martin Johnston, of Fairfield Terrace in Douglas, was detained by police in the Rosemount pub on October 2 last year.
Rosemary Burnett, prosecuting, said police found two wraps of cocaine when they searched the 36-year-old.
She told the court the wraps, which weighed just under two grammes, had a street value of ?152.
Officers went to Johnston's flat, where they found two small pieces of cannabis resin, worth ?1.
Johnston told police the cocaine was for his own use and he was a recreational, weekend user of the class A drug.
He said the pieces of cannabis had been in his flat for some time and he no longer used it.
He will appear in court again on February 4.

Researching your Manx family history can be a very interesting and rewarding hobby. Trace your roots in the Isle of Man with our helpful of guide.