A person who violates or fails to comply with a health order issued under RCW
70.24.024 is guilty of a gross misdemeanor punishable by confinement until the order has been complied with or terminated, up to a maximum period of three hundred sixty-four days. In lieu of confinement, the court may place the defendant on probation upon condition that the defendant comply with the health order, up to the length of the health order. If the defendant is placed on probation and subsequently violates or fails to comply with the health order, the court shall revoke the probation and reinstate the original sentence of confinement.