The dude's a mental case, and he should be hospitalized. This is like swatting a fly with a sledgehammer. Sounds like a relatively harmless fetish, considering I've seen grandmas do it to babies (apparently without 'getting off').
Unfortunately, he will learn other behaviors in prison that IMO could be worse than sucking, er, toes
I hope an appeal is in the offing.