Usually nanny state is used metaphorically. In Canada, it is literal — a father cannot punish his daughter by withholding privileges without Big Hoser Daddy overruling him.

A father plans to appeal after a Quebec court ruled that he didn’t have the right to punish his 12-year-old daughter by barring her from a school trip.

Quebec Superior Court Judge Suzanne Tessier ruled Friday that the girl should be allowed to attend the three-day trip within Quebec this week.

Initially, the father forbade his daughter from going online after the Grade 6 student posted photos on a dating site, the Globe and Mail reported in its Thursday edition.

The girl’s parents are divorced, and after she had an alleged row with her stepmother, her father barred her from going on a school trip to mark the class’s graduation from elementary school, the newspaper reported.

“When he said, ‘OK, it’s final. You’re not going,’ she smacked the door, left and went to live with her mother,” the father’s lawyer, Kim Beaudoin, told CBC News.

Last Wednesday, the father received a motion petitioning the court to overturn the punishment.

Two days later, the judge ruled the punishment was too severe because the girl had already been sufficiently disciplined, Beaudoin said.

Imagine telling your child to go his room or else, to which he replies, “Who’s gonna make me? You and what judge?”

But the judge’s decision was not just a case of a child going to court to get out of trouble, said Miriam Grassby, a Quebec family lawyer who has spoken with the various attorneys involved.

Under Quebec family law, it is not uncommon for a child in a high-conflict situation between two parents to have an attorney appointed to protect his or her best interests, as was the case here, Grassby said.

“In Quebec, no matter who has custody, we have joint parental authority,” Grassby told CBC News on Thursday. “There are issues of discipline where both parents have to agree, and if they don’t, we will have a place” to resolve the issue in court.

The attorney representing the child had been chosen and agreed to by both parents, she noted.

“The court is there to be an objective third party, and these children who are in these high-conflict situations need the protection of the court,” Grassby said.

“I think we could presume the judge had good judgment in the fact that she read the statements and found out what both parents were saying, and that the child was punished at least once for that, and this was excessive punishment.”