No judgment may be issued against a person charged with violating § 32-12-39, if the person produces in court, or the office of the officer making the demand, the person's valid driver license. If the driver license is expired for not more than thirty days prior to the time of the demand, the court, upon issuing judgment, shall postpone payment of the award for a period of thirty days, and if within such time the person produces in court a valid license or a validated receipt and temporary permit to show the issue of license is pending, the action shall be dismissed.
SDCL 32-12-40