A judge who spared an offender a prison term less than six months ago has now jailed him after accepting his lenient approach didn’t work.