Rebecca Bredow, a mom in the Detroit area, told ABC News last week that she would rather go to jail than vaccinate her son.

A judge forced the issue on Wednesday, sending Bredow to jail for a week for violating a court order involving the shots that is part of a contentious custody dispute with the boy’s father, her ex-husband.

Bredow and the ex-husband had originally separated in 2008. Both parents had reportedly agreed to allow time between the various recommended shots. However, as part of the legal battles with the father – who now wants the child to receive all the vaccinations – Bredow agreed in court last November that she would get her child the recommended inoculations.

She did not, and the judge sentenced her this week, despite the last-minute pleas of the self-described “educated vaccine-choice mother.”

“It was not my intent to disrespect your honor, or disobey the court order,” Bredow told the judge. “I stand here today scared and vulnerable, begging the court to understand that I’m not a lazy parent.”

Judge Karen McDonald, of Oakland County Court, was resolute, however.

“The truth matters to me… You agreed in a consent order to vaccinate your child,” said the judge, according to the courtroom footage taken by WXYZ Channel 7 Detroit.

“I’m not going to take time today to listen to the facts as you see them… What you’re saying is just not true,” the judge added.

Last week, Bredow said in a nationally televised interview she expected jail time from the judge, vowing to buck the court order.

The 9-year-old son will now be taken into the father’s custody for the vaccines during Bredow’s week-long stint in jail.

The ex-husband and his attorney have maintained that the case is not specifically about vaccine choice – but is instead about the court order and the legal questions within the long-running custody battle.

Michigan allows parents to opt out of vaccines based on religious or personal belief exemptions.

Almost all states allow religious exemptions, but only half also allow personal belief exemptions like Michigan, according to the National Conference of State Legislatures. Three states do not allow any exemptions at all: California, Mississippi and West Virginia.