TRENTON - A state judge has ruled that a southern New Jersey teenager cannot use medical marijuana in school to help control her seizure disorder.

But the girl's father has vowed to appeal the decision.

In a ruling made public Tuesday, Administrative Law Judge John Kennedy said the Maple Shade school district and the Larc School in Bellmawr are mandated to comply with a state law designed to ban drug use in school zones.

The suit filed by Roger and Lora Barbour sought to require a nurse at their 16-year-old daughter's school to administer cannabis oil. The girl has long suffered from seizures caused by a severe form of epilepsy, and her parents have turned to medical marijuana as a treatment.

Roger Barbour told NJ.com that he would appeal the ruling.