The mental health evaluation has potential..
.. because that could lead to an assessment that he's not competent on his own and has to remain in care.
If he has pissed off someone with power (which is quite possible, given the volumes of spam he was responsible for), this could replace that short jail sentence with a much longer stay in a padded room on happy pills "for his own benefit". Without parole.
Ah, we can but hope.