McDonald acknowledged the father's right to influence his son's health care.

The court initially ordered the immunization Nov. 16, 2016, but it still hasn't happened. In between, Bredow cited religious objections.

But Horne's attorney said in court pleadings that the religious objection was phony arguing that both Bredow and her current husband, Gary, "testified that they do not practice the tenets of any organized religion," and calling a waiver document the couple filed with the child's school "a convenient lie."

Bredow said in court pleadings that her ex-husband has long known of her objection to vaccines and is only making an issue of it now because she's been attempting to collect back child support.Last week, McDonald issued an ultimatum, to Bredow.

"You have seven days to get your child vaccinated," McDonald told Bredow Sept. 27. "If not, you will appear here Wednesday and if you have not, I'll send you to jail. Let me say it one more time, you have seven days. It's ridiculous. Don't make me do that."

But when Bredow appeared in court today, the child still had not be vaccinated, and McDonald made good on her promise and ordered Bredow to jail.

Rebecca Bredow, 32, of Ferndale on Wednesday, Oct. 3, 2017, addresses Oakland County Judge Karen McDonald before being sentenced to 7 days in jail for contempt of court for failing to have her 9-year-old son vaccinated as ordered by the court. Bredow's attorney is at left. (Photo: WXYZ-TV Detroit)

Horne will have temporary custody of the child with an opportunity to get the boy vaccinated, a prospect that alarmed Joel Dorfman of Michigan for Vaccine Choice, a group that advocates for parents' rights to refuse vaccines.

"If this child is injured as a result of being given eight immunizations, who do you think is going to take care of the child?" Dorfman told the Free Press. "The judge?"

The couple have been divorced for years and custody has been contentious.

Horne accuses Bredow of repeatedly violating his parenting time rights and said in court pleadings that she and her current husband are both medical marijuana users. Bredow has twice been charged with domestic violence against her husband, according to court records.

Bredow accused her ex-husband of being a pornography addict, saying he's repeatedly exposed her son to explicit material.

Michigan schools require children to be vaccinated but parents can seek waivers for religious and other objections.

Dorfman said the jailing was outrageous and said it should be warning to parents who are getting divorced that they need to spell out in the divorce settlement who will have authority for making health decisions for children, including vaccines.

Editor's note: An earlier version of this story listed the wrong age for the child.

Contact John Wisely: 248-858-2262 or jwisely@freepress.com. On Twitter @jwisely.