A very eventful trip to a Safeway grocery store ended with a California man's arrest after police say they found him in a bathroom with porn, drugs, and a child.

Police in El Cerrito, Calif. were responding to a shoplifting report early Sunday morning when alerted that a man had been spotted in the women's bathroom with a small child, a pornographic magazine and the heavy smell of smoke.

The 32-year-old El Sobrante, Calif. man was found by police in the men's bathroom, where he admitted to having been in the women's bathroom where he smoked a marijuana cigarette laced with cocaine, according to the incident report. Officers determined the man was under the influence of a controlled substance and arrested him.

The Californian also admitted to stealing a bottle of soda from the Safeway.

A young girl originally discovered the drug and porn-filled binge when she entered the women's bathroom. The girl told her mother, who alerted store employees.

Police just happened to already be on scene after responding to a complaint about a woman who had stolen batteries from the grocery store

The whereabouts of the child with him are unknown, according to NBCBayArea.com.

Police arrested the unidentified man on suspicion of theft, drug possession, possessing of drug paraphernalia and being under the influence of a controlled substance.