The teacher shot by her 6-year-old student in Newport News can press forward with her $40 million lawsuit against a school system over claims of negligence by school administrators, a judge ruled Friday.

The surprise decision by Circuit Court Judge Matthew Hoffman means that Abby Zwerner could get much more than just workers’ compensation for the serious injuries caused by January’s classroom shooting.

Lawyers for Newport News Public Schools had tried to block the lawsuit, arguing that Zwerner was eligible only for workers’ compensation. It provides up to nearly 10 years pay and lifetime medical care for injuries.