the judge can sentences a criminal to a penalty