The stench caused by the mess forced police officers to leave a room during their inspection of Tanya Ashman’s property.

The 27-year-old previously pleaded guilty to exposing a child to unnecessary suffering after there were open containers of alcohol and bedding was soaked in urine.

Ashman also admitted leaving soiled nappies and sanitary towels accessible to the child, who was five years old at the time, and to the kitchen floor being covered in dog faeces and urine.

In a separate charge, she further admitted a charge relating to the neglect of an animal.

Michelle Brannagan, fiscal depute, told the court police attended the property shortly after 2pm on February 26 following a visit by the SSPCA.

Ashman allowed officers into the property – and the full extent of the mess became clear.

Ms Brannagan said: “On walking through the hallway they observed numerous items of clothing and bags blocking access.

“Police officers noted empty cans and bottles of juice, and an open jar of cigarettes. All the windows in the property were drawn and there was very little by way of light.

“The kitchen floor was covered with dog faeces and urine. Some appeared to be fresh and others appeared to have been there some time.

“There was an overwhelming smell and police officers had to leave the room.” The court heard police saw a large number of flies in the upstairs area.

Soiled nappies were found in a bedroom and the bathroom. Bed sheets were soaked in urine.

Ashman was arrested and taken to Clydebank Police Station.

Scott Adair, defending, told the court he had pictures which presented the property in a much more positive light. He added that Ashman no longer kept pets there.

Sheriff Maxwell Hendry told Ashman it was up to her to mend her ways, adding: “We are looking at events which are not old but are in the past. My major concern is what lies ahead in the future.” Sentence was deferred on Ashman until July 23 on both charges. A bail condition was imposed, preventing her from being responsible for animals in the meantime.