This sounds like something that, without knowing all the details yet, they might commit someone over rather than imprison them.
The internet has its good and its bad things. It sounds like her mind could have been polluted by reading some of the garbage on the web.