A judge ordered a screaming Paris Hilton back to jail on Friday, overturning a decision to have her serve the remainder of her sentence under house arrest.

A distraught Hilton, 26, was taken from court sobbing hysterically after being told she will have to serve the remainder of her 45-day-sentence behind bars.

"It's not right!" Hilton shouted in tears.

"Mom!" she screamed to her mother who was watching in the audience.

A teary-eyed Hilton, handcuffed in the back of a police vehicle, was taken by Los Angeles Sheriff's Department to court earlier in the day.

Superior Court Judge Michael T. Sauer was irritated by developments in the case.

The judge said he left the courthouse Thursday night having signed an order for Hilton to appear for the hearing.

When he entered his vehicle on Friday morning, he said, he heard a radio report that she would not appear and that he had approved a telephonic hearing.

He said no such thing had been approved by him.

"I at no time condoned the actions of the sheriff and at no time told him I approved the actions,'' he said of the decision to release Hilton from jail after three days.

"At no time did I approve the defendant being released from custody to her home on Kings Road,'' he said.

Los Angeles City Attorney Rocky Delgadillo spearheaded the charge to get Hilton back in jail and deemed justice was served on Friday.

"This decision sends the message that no individual -- no matter how wealthy or powerful -- is above the law. Today, justice was served,'' Delgadillo said in a statement.

On Thursday, Hilton was transferred from jail to house arrest because of an undisclosed medical condition after serving only three-full days of her sentence.

During the hearing, the judge said that he had not seen any documentation to support claims that Hilton was suffering from a medical condition.

Unconfirmed reports from the gossip website TMZ.com allege the condition was psychological, not physical.

The celebutante was visited by a private psychiatrist while incarcerated.

Hilton's attorney, Richard Hutton, implored the judge to listen to testimony about Hilton's medical condition in his chambers before he made his final decision. The judge did not respond to that suggestion.

Steve Levine, another of Hilton's attorneys said, "The sheriff has determined that because of her medical situation, (jail) is a dangerous place for her.''

"The court's role here is to let the Sheriff's Department run the jail,'' he said.

Hilton was fitted with an electronic monitoring device on Thursday ordered to spend the remainder of her sentence on house arrest for a reckless driving probation violation.

The 26-year-old heiress turned herself in at the Men's Central Jail in downtown Los Angeles just after 10:30 p.m. on Sunday night.

During her previous incarceration, Hilton was held in a "special needs" section of the jail and did not have to share her cell with other inmates.

Officers arrested Hilton in Hollywood on Sept. 7. In January, she pleaded no contest to a reduced charge of the alcohol-related reckless-driving charge. She was sentenced to 36 months' probation, alcohol education and $1,500 in fines.

But the heiress was pulled over again by California Highway Patrol on Jan. 15.

Officers informed Hilton she was driving on a suspended license and she signed a document acknowledging she was not to drive.

Then again on Feb. 27, she was pulled over by sheriff's deputies, at which time she was charged with violating her probation.

A traffic court judge ruled on May 4 that Hilton violated her probation and sentenced her to 45 days in jail.

With files from The Canadian Press and The Associated Press