I suspect the magistrate is trying to get her help, and allow her children to have at least one parent who is not in jail.
Her facial skin does look pretty suspect in the Daily Mail photos. And her violent outburst at the shopping mall is indicative of deeper problems. She has tried to pass it off, herself, in a handwritten note saying that she has panic attacks. No Drs letter. Which might have been a good thing to get, before attending court.
I guess the pre-sentence report will get to the bottom of it all.
Panic/Anxiety/Stress attacks can cause violence or some aggression, even though it is uncommon it can still happen like that.
And yes her pre sentencing report will give more info. on her coping and any mental health issues i would imagine.
I think she needs a good lawyer to guide her through if she doesn't already have one IMO.