Wellington: A judge ruled on Friday that a New Zealand schoolboy need not cut his hair before returning to class and that his Catholic high school had been wrong to suspend him for having long locks.

Sixteen-year-old Lucan Battison was suspended last month from St John’s College in the town of Hastings. Principal Paul Melloy said Battison had breached a rule that states students must keep their hair short, tidy, off their collars and out of their eyes.

But Battison argued his naturally curly hair would look unruly if cropped and he was prepared to wear it in a bun to comply with the school’s standards. Rather than cut his hair, the student and his family took their case to court.

In his decision, New Zealand High Court judge David Collins found the schoolboy’s actions weren’t harmful or dangerous to other students, didn’t amount to serious misconduct, and therefore didn’t warrant suspension. He also found St John’s didn’t provide enough clarity in its hair rules to ensure students could comply with them.

While the school disagreed with Battison’s hairstyle, it didn’t dispute his description of himself as a “typical teenager.” In fact, the school described him in court as a “nice young man.”

The judge noted that “an insight into Lucan’s character can be gleaned from the fact that in March this year he received a civil bravery award for participating in the rescue of two young women, who nearly drowned in dangerous swimming conditions at a Hawke’s Bay beach.”

The judge also noted that Battison represented St John’s in rugby and loved attending the school, in part because his faith was important to him.

Battison’s parents Troy Battison and Tania Doidge said in a statement their son had never broken the rules because his bun kept his hair off his collar and out of his eyes.

“In 2014, when girls’ hair lengths at school aren’t questioned, why should the rules be different for boys?” they said.

“The criticism we have received as parents has been hurtful and unnecessary,” they added.

In his ruling, Judge Collins noted that one of Battison’s lawyers had tried to provide the school board’s disciplinary committee with statements from two hairdressers, one of whom said Battison’s hair was already short and would “look like ‘an untidy afro’ if it was cut shorter,” but that the committee apparently chose not to accept the testimony.

Battison was allowed to return to his school earlier this month after the judge said he could stay in class while the case progressed.

In a statement issued on Friday by St John’s, which contains grammatical errors, Principal Paul Melloy said: “Naturally we are disappointed of the decision made in Wellington today.”

“The Board of Trustees are taking time to consider the judgement made by Justice Collins in terms of its impact, both on our school and on other schools.”