(dissenting). Interpreting ch. 969 and ch. 973, Stats., as articulating a legislative interest in the immediate incarceration of the defendant after sentencing and denominating that interest as public policy, the majority holds that a bail bond agreement extending bond beyond sentencing is void as a matter of public policy and that the surety’s duty to produce the defendant pursuant to a bail bond agreement expires, again as a matter of public policy, at the time of sentencing. The result is that while the convicted and sentenced defendant remains at large, a fugitive from justice, the surety recovers $75,000, a sum which she had agreed would be forfeited if the defendant *89failed “to appear . . . and submit himself to any and all orders . . . issued by any Court or Judge . . or if the defendant failed to “obey any judgment entered in the action by surrendering himself to serve any sentence imposed.”
The majority reasons as follows: (1) The trial court has neither statutory power nor inherent judicial authority to stay the execution of a criminal sentence for a brief time; (2) The trial court has no statutory authority to release the defendant on bail after sentencing, and the public policy enunciated in ch. 969 and ch. 973 is to prohibit the release of the defendant after sentencing except in cases of probation; and (3) The bail bond agreement by which the surety accepted responsibility for the defendant’s appearance to serve his sentence is unenforceable as a matter of public policy “inasmuch as allowing the continuation of bail after sentencing could serve no other purpose than to secure the unauthorized release of a defendant.” As a matter of public policy “the surety must be deemed to have fulfilled her obligation at the time when the defendant was produced for sentencing.”
On examination of each of these three steps, I dissent. Because the conditions of the bond were not complied with, I would affirm the circuit court’s order declaring the bail to be forfeited. Sec. 969.13(1), Stats.1 I would, however, remand the matter to the circuit court to hold an evidentiary hearing and to exercise its discretion under sec. 969.13(2), Stats., to modify or set aside the order of forfeiture “if it appears that justice does not require the enforcement of the forfeiture.”2
*90I.
The majority correctly concludes that the trial court is not empowered to stay the execution of a criminal sentence except as provided by statute or except under its inherent judicial authority to stay “for legal cause” or “upon a writ of error or upon other well established legal grounds.” Drewniak v. State ex rel. Jacquest, 239 Wis. 475, 485-486, 1 N.W.2d 899 (1942). Since no statute expressly authorizing or prohibiting a stay of sentence is applicable to this fact situation, it is necessary to consider the legal limits of the trial court’s inherent judicial authority. In Drewniak and In re Webb, 89 Wis. 354, 62 N.W. 177 (1895), and in their progeny,3 this court renounced a broad view of a trial court’s inherent power to stay the execution of a sentence but recognized that such inherent judicial power exists in limited circumstances.
The boundaries of those circumstances have never been delineated, and this court has never decided whether a trial court’s inherent judicial authority to grant a stay of execution permits it to allow a defendant a brief time to put his affairs in order before his sentence begins. We note that, except for Weston v. State, 28 Wis.2d 136, 135 N.W.2d 820 (1965), no Wisconsin case has involved the power of the trial court to grant a brief stay of execution of sentence. In Weston this court held that execution of sentence “was properly postponed” and that “deferring execution ... to consolidate other matters before the court affecting the same defendant is not prohibited by the statutes . . . nor does it appear to be *91an abuse of discretion in this case.” 28 Wis.2d at 146, 147.4
Thus, prior to the announcement of the majority opinion in the instant case, this court had not decided whether, absent express statutory authority or prohibi-tio. . a trial court could grant a brief accommodation stay of execution following imposition of sentence. The only indication the court had given was that the inherent judicial power to stay a sentence is limited; it had not defined the limitations. The decisions of this court relating to the trial court’s inherent judicial power to stay execution of a sentence rest heavily on the analysis of the United States Supreme Court in Ex Parte United States, 242 U.S. 27 (1916). The federal courts which are bound by Ex Parte United States view themselves as having the power to grant a brief stay of execution of a sentence to accommodate the defendant. It also appears, although counsel for the parties could not enlighten the court, that trial courts in this state have, on occasion, granted defendants brief stays of execution of sentence.
On the basis of the previous Wisconsin and federal cases and Wisconsin practice, I conclude that prior to the decision in the instant case a trial court could reasonably conclude that it had inherent judicial power to grant a brief stay of execution of sentence to the defendant for legal cause including allowing the defendant to put his affairs in order. Whether the trial court abused its discretion in granting the brief stay in this case is not relevant to the surety’s liability, and I will not discuss that issue.
I do not dissent from the majority’s pronouncement that hereafter, unless the legislature provides otherwise, no trial court shall grant an accommodation stay of *92sentence. Unless there are statutory or judicial guidelines, the granting of brief stays of execution of sentence may be subject to abuse and such stays add another variable in a sentencing process which is already subject to criticism for lack of uniformity from court to court and county to county.
HH 1 — i
Unlike the majority, I conclude that the statutory scheme under ch. 969 and ch. 973, Stats., does not expressly or impliedly prohibit the release of the defendant on bail after sentencing.
The majority cites sec. 973.15, Stats., in support of its view that “the statutes authorize a procedure whereby the convicted defendant is to be incarcerated upon sentencing and is not to remain at large.” The majority quotes that part of sec. 973.15, Stats., which provides that “all sentences commence at noon on the day of sentence.” The remainder of sec. 973.15 provides that “the time which elapses after sentence while the convicted offender is at large on bail shall not be computed as any part of the term of imprisonment.”5 The language of the statute thus demonstrates that the legislature contemplated situations in which release on bail after conviction and after sentencing would be authorized.
Chapter 969, which governs bail procedure in criminal cases was part of the revision of the criminal code enacted by ch. 255, Laws of 1969. Various provisions of the new bail statute “are taken from the Federal Bail Reform Act of 1966.” See Prefatory Note to the Session Law, *93AB 603, 1969 Sess.; Judicial Council Criminal Rules Committee, Prefatory Comment, 42 West’s Wis. Stats. Annot., Ch. 967-969, Special Pamphlet 1970. The federal bail act, like ch. 969, provides for hail only while the defendant “is either awaiting sentence or has filed an appeal.”6 The federal courts have, contrary to the position taken by the majority, concluded that the federal district courts have the power to continue bail after sentencing and before appeal.
On reading ch. 969 and ch. 973, Stats., I find neither express authorization for nor express prohibition against a trial court’s releasing the defendant between sentencing and appeal. More importantly, I cannot find in the statutes the “legislative desire,” which the majority finds, “to have criminals immediately incarcerated upon sentencing and not to allow such persons to remain at large.” In fact, the legislature has specifically permitted a convicted and sentenced person to remain at large, albeit during appeal. The statutory provisions for release on appeal are contrary to what the majority sees as the clear legislative policy to deny release on bail after sentencing.7 I conclude that although no court is spe*94cifically authorized by statute to release the defendant during an accommodation stay of sentence, there is no legislative fiat or legislative policy absolutely prohibiting the defendant from being released on bail after conviction and sentencing.
III.
Even if I were to agree with the majority that the trial court in this case had no authority to stay the sentence and had no authority to release the defendant on bail after sentencing, I would not accept the majority’s conclusion that the bail bond agreement is unenforceable as a matter of public policy.
Although the oft quoted rule is that a court will not enforce a contract which is illegal or contrary to public policy, there are many exceptions and limitations to the rule. In the Matter of Steffes, 95 Wis.2d 490, 513-514, 290 N.W.2d 697 (1980). Professor Corbin commented on the use of public policy as a basis for declaring a contract to be illegal as follows: “These two alliterative words are often used as if they had a magic quality and were self-explanatory.” 6A Coi’bin, Contracts sec. 1375, p. 10 (1962). He explained that “there are many varieties and degrees of ‘illegality’ and these varieties and degrees must be taken into account in determining the *95juristic effect of a transaction that involves some form of illegality.” 6A Corbin, Contracts sec. 1534, p. 816 (1962).
This court has held that even if a contract is made in violation of an express statute it is not necessarily void. “Not all contracts made in violation of the provision of a statute are void. Chapman v. Zakzaska, 273 Wis. 64, 76 N.W.2d 537. In determining whether such a contract is void, this court has observed that the intent and purpose of the objectives of the legislature must be ascertained. Posnanski v. Hood, 46 Wis.2d 172, 174 N.W.2d 528 (1970).” Vic Hansen & Sons, Inc. v. Crowley, 57 Wis.2d 106, 116-117, 203 N.W.2d 728 (1973). This bond agreement is not made in violation of an express statute.
An agreement or any part of an agreement should be declared unenforceable on grounds of public policy only if the interest in enforcement is clearly outweighed by an interest against enforcement. Restatement of Contracts (Second) sec. 320 (Tent. Draft No. 12, March 1, 1977). Thus the decision as to enforceability should be reached only “after a careful balancing, in the light of all the circumstances, of the interest in the enforcement of the particular promise against the policy against the enforcement of such terms.” Comment b, Restatement of Contracts (Second) sec. 320 (Tent. Draft No. 12, March 1, 1977).
It is therefore necessary to determine what interests and public policies are implicated in the enforcement of the bail bond agreement.
While setting forth one strand of public policy to justify its conclusion that the bond agreement should not be enforced, namely that society demands incarceration upon sentencing, the majority fails to weigh countervailing public policy considerations which favor requiring the surety’s diligent performance of the bail bond agreement.
*96Public policy favors enforcement of the terms of the bail bond agreement. Requiring the surety to abide by his agreement with the defendant and with the state at the risk of forfeiture of the bond fosters the sound and orderly administration of criminal justice and protects society by ensuring that the surety executes his agreement to assure defendant’s compliance with court orders. United States v. Payne, 272 F. Supp. 939, 941 (D.C. Conn. 1967). To require the surety to comply with the terms of the agreement is not unfair in light of the fact that the surety has the right and authority to terminate responsibility under the agreement at any time by arresting the defendant and delivering him to the sheriff. Sec. 969.14, Stats.; Restatement of Security, sec. 204, comments b and c on subsection (1), pp. 537, 551 (1941). Unless the surety terminates his responsibility, the surety consents to his continuing obligation. The majority fails to consider the public policy in favor of maintaining the role of the surety as the defendant’s custodial keeper.8 Yet it is the surety’s performance in this role on which the orderly administration of criminal justice in part depends.
The bail bond agreement in the case at bar implicates these societal interests. The bond broadly states the defendant’s and the surety’s commitments: The defendant must obey any order or process of the trial court, and the surety agrees to insure that the defendant will abide by all the terms of the agreement. The defendant “shall appear ... at such . . . times and places as he may be required to appear, and will submit himself to *97any and all orders and directions in this action as may be given or issued by any Court or Judge having jurisdiction over said action.” More particularly, the defendant “shall obey any judgment entered in this action by surrendering himself to serve any sentence imposed and by complying with any order or direction in connection with such judgment the Court imposing it may prescribe.” (Emphasis added.) Furthermore, the agreement states that “it is agreed and understood that this is a continuing bond which shall continue in full force and effect until such time as the defendant and his sureties are cleared from its obligations” and that if the defendant fails “to obey or perform any of these conditions, payment of the amount of this bond shall be due forthwith and the provisions of s. 969.13, Stats., shall apply.”
The bail bond agreement conforms to sec. 969.09(1) and sec. 969.13, Stats. Enforcement of the terms of the bail bond agreement is therefore equivalent to enforcement of sec. 969.09(1) and sec. 969.13, Stats. Sec. 969.01, Stats., requires that certain conditions be included in a bond “without limitation,” when the defendant is admitted to bail before sentencing. Sec. 969.09(1), Stats., provides:
“Conditions of bond. (1) If a defendant is admitted to bail before sentencing the conditions of the bond shall include, without limitation, the requirements that he will appear in the court having jurisdiction on a day certain and thereafter as ordered until discharged on final order of the court and that he will submit himself to the orders and process of the court.”
The bail bond agreement in this case satisfies these conditions.
Neither chapter 969, Stats., nor the bond agreement states how the defendant or the surety is “discharged” or “cleared” of obligations except under special circumstances. See, e.g., sec. 969.14(3), Stats. The majority *98interprets sec. 969.09(1) to mean that the defendant and surety are “discharged” or “cleared” at sentencing. However, there is no court order in this case discharging or clearing the defendant or the surety from further obligations under the bond. Nor did the circuit court at the sentencing intend to discharge the defendant on final order; the court ordered the defendant to appear again. The defendant, the state and the surety who was present in the court with counsel must have known that the circuit court did not intend that either the defendant or the surety was discharged from the obligations of the bond at the sentencing hearing.9
While there is no statutory definition of what “discharged” means, there is statutory authority for the view that the defendant was bound under sec. 969.09(1) and the bond to appear on January 3. Sec. 969.09(1), Stats., requires as a condition of the bond that the defendant “will submit himself to the orders and process of the court.” Under the bail bond agreement the defendant *99agrees to “obey any judgment entered in this action by surrendering himself to serve any sentence imposed and by complying with any order ... in connection with such judgment.” The circuit court order at the sentencing hearing on December 15 that the defendant appear on January 3 is clearly an order within the terms of sec. 969.09(1) and the bond agreement, and the defendant was obliged to comply with that order.
Consideration of the language of the bail bond agreement in conjunction with sec. 969.09(1) leads to the conclusion that the surety’s obligation extended to the defendant’s compliance with the trial court’s order that he report on January 3 to begin his sentence.
The legislature has clearly set forth the policy of this state as requiring forfeiture when the conditions of the bond are not fulfilled. Forfeiture is unconditionally required by statute. Sec. 969.13(1), Stats., provides: “If the conditions of the bond are not complied with, the court having jurisdiction over the defendant in the criminal action shall enter an order declaring the bail to be forfeited.”
The parties specifically contemplated forfeiture as the penalty for defendant’s noncompliance. The agreement refers to sec. 969.13, Stats., and expressly provides for payment of the bond if the defendant “fails to obey or perform any of [the] conditions . . . .” Moreover in this case the surety had an opportunity to terminate the bond after sentencing and thus be released from liability thereunder. At oral argument counsel for the surety acknowledged that the surety was present at sentencing as was counsel for the Estate of Arthur Dulde. The surety could have terminated her exposure under the bail bond agreement by standing up and telling the court she wanted to be “discharged” from the obligations of the bond and that she was “surrendering” the defendant. Sec. 969.14(1), Stats.
*100Even if the trial court lacked the power or jurisdiction to release the defendant after sentencing or to order him to return,10 neither the defendant nor the surety should be permitted to ignore the court’s order with impunity. If the surety is able to question the legality of a court order or of the criminal proceedings after the defendant fails to obey a court order, serious interference with the administration of justice can result. See Restatement of Security, sec. 205 and Comments (1941).11
*101Upon balancing the public policy factors in favor of and against the enforcement of the bail bond agreement, I would strike the balance in favor of holding the surety to the agreement and would affirm the trial court’s order under sec. 969.13(1), Stats., declaring the bail to be forfeited. When as in the instant case both the defendant and the surety elude the justice system, the public and public policy are the victims, not the victors.12
*102As I stated previously, because I conclude that there is an insufficient factual record, I would nevertheless remand the matter to the circuit court to hold an evi-dentiary hearing and to exercise its discretion under sec. 969.13(2), Stats., to determine whether the order of bail forfeiture may be set aside on such conditions as the court imposes if it appears that justice does not require the enforcement of the forfeiture in the instant case.13 I therefore dissent.
I am authorized to state that Justice Nathan S. Hef-fernan joins in this dissenting opinion.
See. 969.13(1), Stats., provides:
“969.13 Forfeiture. (1) If the conditions of the bond are not complied with, the court having jurisdiction over the defendant in the criminal action shall enter an order declaring the hail to be forfeited.”
Sec. 969.13(2), Stats., provides:
“This order [of bail forfeiture] may be set aside upon such conditions as the court imposes if it appears that justice does not require the enforcement of the forfeiture.”
See, e.g., State v. Stang Tank Line, 264 Wis. 670, 672, 69 N.W.2d 880 (1953); Drinkwater v. State, 69 Wis.2d 60, 65-66, 230 N.W.2d 126 (1976); State v. Sittig, 75 Wis.2d 497, 600, 249 N.W.2d 770 (1977); State v. Wilson, 77 Wis.2d 16, 21, 262 N.W.2d 64 (1977).
In Drinkwater v. State, 69 Wis.2d 60, 66, n. 1, 230 N.W.2d 126 (1976), this court said that “the inherent powers of a trial court recognized [in Weston] must be confined to the factual framework in which the [ease] arose.”
Sec. 973.15(1), Stats., provides:
“All sentences to the Wisconsin state prisons shall be for one year or more. Except as otherwise provided in this section, all sentences commence at noon on the day of sentence, but time which elapses after sentence while the convicted offender is at large on bail shall not be computed as any part of the term of imprisonment.”
See 18 USCA sec. 3148: “Release in capital eases or after conviction.
“A person (1) who is charged with an offense punishable by death, or (2) who has been convicted of an offense and is either awaiting sentence or has filed an appeal or a petition for a writ of certiorari, shall be treated in accordance with the provisions of section 3146 unless the court or judge has reason to believe that no one or more conditions of release will reasonably assure that the person will not flee or pose a danger to any other person or to the community. If such a risk of flight or danger is believed to exist, or if it appears that an appeal is frivolous or taken for delay, the person may be ordered detained. The provisions of section 3147 shall not apply to persons described in this section: Provided, That other rights to judicial review of conditions of release or orders of detention shall not be affected.”
For release on bail on appeal, see secs. 969.01(2) and 969.09 (2), Stats.; State v. Whitty, 86 Wis.2d 380, 282 N.W.2d 842 (1978).
*94Sec. 969.01(2) (c), (d), Stats.:
“(c) In felonies, bail may be allowed upon appeal in the discretion of the trial court.
“(d) The supreme court or a justice thereof or the court of appeals or a judge thereof may allow bail after conviction.”
Sec. 969.09(2), Stats.:
“(2) If the defendant is admitted to bail upon appeal, the conditions of the bond shall be that he will duly prosecute his appeal, that he will appear at such time and place as the court directs, and that if the judgment is affirmed or reversed and remanded for a new trial or further proceedings upon notice after remitti-tur, he will surrender to the sheriff of the county in which he was tried.”
Stearns Law of Suretyship 433 (Elder’s Rev. 1951); Simpson on Suretyship 491, 496 (1950) ; Spencer, The General Laws of Suretyship 412 (1913). “The purpose of the requirement of bail in criminal cases is to substitute for the public prison the friendly custody of a jailer of the defendant’s own’ choice.” Restatement of Security, see. 210, comment b on subsection (2) (1941).
After pronouncing the sentence, the circuit court advised the defendant of his appeal rights. The proceedings drew to a close, and the court announced “That will be all.” Defense counsel then asked to be “heard just briefly” and requested that the circuit court stay execution of sentence to January 2 at 9:00 o’clock, saying:
“I would indicate to the Court that in view of the proceedings— in view of the sentence et cetera and the time of year I, on behalf of Mr. Braun, would indicate to the Court that he does have a seventy-five thousand dollar bail posted. It has been posted for a very substantial period of time. He never failed to appear. I ask the Court to stay the execution of sentence to January 2nd at 9:00 o’clock.”
The state said nothing. The circuit court, without comment or inquiry, announced that the sentence would be stayed until January 3rd at 9:00 o’clock. The hearing then ended. While the circuit court did not state whether the bail bond was or was not continued and indeed did not refer to the bail bond, it is clear from the record and the surety’s brief that counsel for both the state and defense understood the court was attempting to extend the obligations of the bond.
At the time the bail bond agreement was executed and the defendant released on bail after sentencing, the power of the trial court to grant the brief stay or to release the defendant on bail after sentencing had not yet been decided definitively by this court. The validity of a contract is generally determined by the law in effect at the time of its execution. Cf. Comment d, Restatement of Contracts (Second) sec. 321, p. 70 (Tent. Draft No. 12, March 1977); Restatement of Contracts, secs. 608, 609 (1932).
Courts in other jurisdictions have concluded that the validity of a trial court’s order does not affect the surety’s liability under the bail bond agreement. In State v. Canania, 537 S.W.2d 203 (Mo. Ct. App. 1976), the Missouri court of appeals sustained the order for forfeiture of the bond, concluding that the validity of the trial court’s order granting a continuance had no legal significance to the issue of whether there had been a violation of the provisions of the bail bond, stating:
“[T]he purpose of the bail was to insure the defendant’s presence, and while the granting of a continuance in excess of the time authorized was improper, in fact it has been described as an ‘unauthorized and illegal act,’ State v. Caffey, 438 S.W.2d 167, 171 (Mo. 1969), that act had nothing whatever to do with the failure of the defendant to appear in the magistrate court ‘from time to time ... as directed by the court . . . ,’ and that is what appellant solemnly contracted to have done.” 537 S.W.2d at 205.
Cf. Perry v. United States, 432 F. Supp. 645 (M.D. Fla. 1977), in which the defendant argued that he could not be guilty of jumping bail because he was not under a lawful order to appear. The court pointed out that it did not make any difference whether the Florida district court had jurisdiction to order the defendant’s appearance:
“[E]ven if it had not had subject matter jurisdiction of the case, petitioner could not lawfully have defied this Court’s orders. *101. . . Several analogies demonstrate this fact. Suppose these facts: ‘A’ is a prisoner. ‘A’ believes that he was convicted without due process and is therefore being detained illegally. He decides to ‘take the matter into his own hands.’ He escapes from prison. Later, in a habeas corpus proceeding, the court determines that ‘A’ was in fact denied due process and that his conviction must be overturned. Notwithstanding the illegality of the detention from which ‘A’ escaped, he can be tried and convicted for escape.
“Suppose these facts: policemen attempt to arrest ‘B.’ ‘B’ believes that the policemen do not have probable cause to arrest him. Thus he resists or even assaults them. The policemen subdue him, but later a court determines that the arrest was invalid. ‘B’ can be tried and convicted on charges of resisting or assaulting law enforcement officers.
“Suppose these facts: law enforcement officers come to the home of ‘C’ and display a search warrant. ‘C,’ believing the search warrant to be invalid, refuses them admittance. Even if the search warrant is invalid, ‘C’ has no right to resist the search. See Bumper v. North Carolina, 391 U.S. 543, 550, 88 S. Ct. 1788, 1792, 20 L. Ed.2d 797, 803 (1968). In the present case, even if this Court’s orders to appear before it on later dates had been unlawful, just as ‘A’ had no right to escape from unlawful detention; just as ‘B’ had no right to resist an unlawful arrest; and just as ‘C’ had no right to resist an unlawful search; petitioner would have had no right to take the matter into his own hands and fail to appear. Therefore, the indictment returned against petitioner for bail jumping, No. 75-45-Cr-J-T was valid.” 432 F. Supp. at 650.
“Bargains made by public officials or by corporate officers may be in gross dereliction of their official duty, subjecting them to ouster, to a tort action, or to criminal penalty; and yet those same bargains may be enforceable by the municipality or corporation for the benefit of the protected class.” 6A Corbin, Contracts sec. 1540, p. 837 (1962).
The legislature has granted the circuit court the power to set aside the forfeiture which the court ordered pursuant to sec. 969.-13(1), Stats., if it appears that justice does not require the enforcement of the forfeiture. Sec. 969.13(2), Stats., reads as follows :
“(2) This order [of forfeiture] may be set aside upon such conditions as the court imposes if it appears that justice does not require the enforcement of the forfeiture.”
The court of appeals in State v. Ascencio, 92 Wis.2d 822, 829, 830, 285 N.W.2d 910 (Ct. App. 1979), noting the similarity of sec. 969.13(2), Stats., to Rule 46(e) of the Federal Rules of Criminal Procedure, concluded that although sec. 969.13(2), Stats., does not specially provide for total or partial remittitur, as does the federal rule, the circuit court does have the power to modify, as well as to set aside, the order of forfeiture. Except for the As-eencio decision, there is little precedent in this state interpreting the trial court’s authority under sec. 969.13, Stats. Federal and state courts have, however, interpreted statutes similar to sec. 969.13(2), Stats., to give the trial court wide discretion in ordering a modification of the forfeiture order and have held that an appellate court will not reverse the decision of the trial court unless the trial court abused its discretion. 3 Wright, Federal Practice & Procedure: Criminal, sec. 777, p. 294 (1969); 6 Orfield, Criminal Procedure Under the Federal Rides, sec. 46:129 (1967).