How do we know this 16 year old girl knew she was breaking the law? People break laws that they do not know exist all the time and a few officers have enforced laws that do not exists.
Ignorance is not excuse for the law... but I suppose she could have been too stupid to know that causing an explosion in school is against the law.