Depending on the charge, some sentences are mandatory (e.g., oui 3rd, driving while your license is suspended because of an oui, and certain gun charges), but most are not.
» More on Criminal Law