A man from Oldham handed bags of cocaine to a police officer's children out trick-or-treating on Halloween night, thinking he had given them sweets, a court has heard.
Apprentice panel beater Donald Junior Green fished in his pockets for a bag of Haribo sweets to give to the youngsters but instead pulled out a plastic pack containing eight snap bags of cocaine he had bought for £200 earlier that day, Oldham Magistrates' Court heard.
He dropped the drugs into the goody bags carried by the three children, aged eight, six and five, who knocked at his home to play trick or treat, escorted by their father, an off-duty policeman.
The 23-year-old defendant then went back inside the house - put his hand in his pockets to get out his drugs and instead pulled out the Haribo sweets.
Green immediately realised what had happened and went on foot, then by car, scouring the streets of Oldham nearby to find the youngsters.
But the officer, Pc Simon Fowell, had taken his children home and, as they emptied their goody bags to share the spoils, he spotted the drugs - and made a swift call to his on-duty colleagues.
Green, who had never been in trouble with police before and worked and went to college, wiped his eyes with his hands as he stood in the dock and admitted a single charge of possessing a Class A drug on October 31.
Green, of Sycamore Avenue, Oldham, will be sentenced later on Monday after the preparation of a probation report.
Steven Sullivan, defending, said Green had initially acted out of "public spirit" by giving out sweets - but that had gone badly wrong.
"This was an accidental act. It was grossly foolhardy," he said. "It took him only a matter of minutes to realise his error. This is clearly a highly unusual and unfortunate case. Not surprisingly it has attracted a good deal of adverse publicity. He has been embarrassed by the publicity but does not seek to feel sorry for himself."