a judge can sentence a criminal