Cleaning toilets is, at the end of the day, no different than being forced to write lines on a chalkboard (except for it being, you know, useful). Hell, in a lot of households kids have to clean their own toilets, not for having done something wrong but just because that's what needs to be done. Presumably, the kid was shown how to do this work in a sanitary fashion and was given the proper tools to do so.
On a completely seperate note, the child may have issues. Those issues need to be dealt with in a kind, supportive environment so that he can move on with his life in a productive manner. However! The child also needs to learn that misdeeds are not excused just because you have issues. If I go to the store and throw a hissy fit because my girlfriend dumped me, then guess what... I am going to jail. It doesn't matter that I have issues, I have done wrong.
Love and understanding is absolutely high on the list of what this kid needs, I have no doubt of that. However, he needs discipline as well, and neither can be allowed to negate the other.