Whenever by any provision of this code the department has discretionary authority to suspend or revoke the privilege of a person to operate a motor vehicle, the department may in lieu of suspension or revocation place the person on probation, the terms of which may include a suspension as a condition of probation, issuing a probationary license with such reasonable terms and conditions as shall be deemed by the department to be appropriate.