'It was said you, Julia Saker were at your wits' end because of her drug-taking but you could have sought professional help instead of imprisoning her in this way,' she added.
'It is said'. A very stupid thing to say. 'you could have sought professional help'. In general, true, but in the specific case, bullshit.
Unless I'm missing something, the sentences are far too harsh. I guess it's another example of how judge's favour smack heads and hate people who 'take the law into their own hands'.