LOUISVILLE, Ky. (WHAS11) -- One of two teens accused in the case of a stolen car with a toddler inside, faced a judge on Thursday, and that judge was not happy.

18-year-old Darrick Murphy was in court only admitting to getting into that car after it had already been stolen from a gas station on Wednesday.

Once they realized a child was in the backseat, police said the two teens dropped the toddler off in a grassy area.

Then they dumped the car a block away from the crime scene.

In court this morning, Judge David Holton refused to let Murphy out of jail on home incarceration.

“I observe these things every day and sometimes you have to wonder did it really seem like a good idea at the time.

“Can we release on H.I.P.?” Murphy’s Lawyer said.

“I'm not going to allow that. This situation could have been deadly, it involves a 3-year-old child. You know I'm usually liberal with my H.I.P., but with a child, whether intentionally or not, I'm not going to go there,” the judge said.

Murphy is expected to back in court on November 7. That child is okay and wasn’t harmed.