In court the judge can only take into account your history during sentencing. So if you're guilty he/she can elect to let you go with no conviction because of your clean record etc.
It's either your guilty or not guilty. If he/she "lets you off" it means you were guilty but because of your record he let you slide with no conviction. So therefore they took into account your criminal/driving history during sentencing. Thanks