There’s a legal defence for that argument too, though (“not criminally responsible on account of mental disorder”), but the lawyer was trying to argue that it was not hate speech. For the judge to accept that argument would set the wrong precedent.
I.e., both can be true, even legally.