So much plays into this decision.
Locking someone up 'who has no previous criminal record' seems like a bad idea to this judge because he could become a 'productive' member of society. Basically being seen as wealthy, educated, white, and privileged in all these ways means you would be wasted in prison.
The fact is the prison system doesn't rehabilitate people, worse, in the US it exposes them to criminals, it prevents them from obtaining work even after release, and basically guarentees criminal activity in the future - this is pretty much the opposite of rehabilitation. The system in place needs radical reform.
And this judge, recognising the problem, reinforces it by way of this classist&racist sentence. Never-mind the inherent misogyny...
Look at how the sexual assault and groping in Colonge was reported in the media at new years. When it is non-white men raping white women it gets the media attention it deserves; but there is an inherent misogynistic and racist assumption that white men have an entitlement to sex with white women (thus non-white men are defiling 'our property', so the outrage over the Colonge attaks was massively amplified)
This case highlights that entitlement to sex. So misogyny, racism and classism can be tied up all together in a neat like ball of privilege and power.
@Brainbomb, why did he get off so easy? Structural and Institutional privilege.
Being a young man who the judge could imagine as a younger version of himself would have helped a lot...