A heroin-taking couple were found unconscious in their parked car with a three-year-old child in the back.
The woman, who had driven the car while under the influence of drugs, was later taken to hospital where she was found to have hidden heroin in a Kinder egg.
The couple, Dawn Smith and Ian Gallacher, of Balquhatstone Crescent, Falkirk, appeared at Dunfermline Sheriff Court and admitted child neglect.
They were found in the car which was parked on a driveway in Fife. The owner of the property took the keys from the car because of the condition they were in. Gallacher then became aggressive and brandished a bottle.
Both admitted a charge of willful neglect of a three-year-old boy and exposing him in a manner likely to cause him in unnecessary suffering or injury to health and neglecting him by not being in a position to care for him properly whilst being unfit through drugs.
Gallacher, 28, admitted at a house in Fife he behaved in a threatening or abusive manner by shouting, swearing, acting in aggressive manner, brandished a glass bottle causing fear and alarm.
He also admitted giving a false name to police in an attempt to pervert the course of justice.
Smith admitted driving a car without a valid licence and driving while unfit to do so through drink or drugs.
She further admitted that at Kirkcaldy Acute Hospital, in a Kinder egg secreted within her person, she was in possession of diamorphine.
Depute fiscal Azrah Yousaf said that at around 6.50pm on Monday a woman was informed that somebody appeared to have left a car in her driveway.
She went to the scene and found a black Vauxhall Corsa with two people slumped in the front of the vehicle.
“At that point she couldn’t see anyone else in the vehicle as there was condensation on the windows. She stopped a car passing by and spoke to some males. They all went up to the vehicle and the lady took the keys.
“It was then she noticed there was a young child in the back.”
Gallacher woke up and became aggressive shouting at the group and brandishing a bottle at them.
Gallacher’s solicitor Billy Hendry said his client was “startled” when strangers took the car keys but conceded he had “overstepped the mark” in the way he reacted.
“He accepts his conduct that day and it was a short period of stupidity. A serious moment of madness has got him into serious trouble,” said Mr Hendry.
He added that his client had started taking heroin in the past year.
“He has had a problem with drugs but this has been a significant development.”
On his first appearance in court, Gallacher was in the dock alone as Smith had fallen ill while in custody and was in hospital.
Gallacher was remanded in custody overnight and Smith had recovered the next day.
They appeared before Sheriff Robert Vaughan and sentence on both was deferred for reports until May 18.
Smith had an interim driving ban imposed.