The plaintiff, a trustee in bankruptcy of the Harsol Costume Co., Inc., brought this action to recover on a policy of burglary insurance for a loss sustained by the bankrupt prior to the institution of the bankruptcy proceedings. The defendant immediately applied for and obtained an order requiring the plaintiff to give security for costs and staying all proceedings on the part of the plaintiff and his attorneys, except to review or vacate the order until such security was given. The plaintiff’s attorneys obtained several extensions of time to comply with the order, the last of which expired on May 5, 1921. On May 2, 1921, the plaintiff obtained an order to show cause why the Harsol Costume Co., Inc., should not be substituted in place of the plaintiff, and why the order for security for costs should not be vacated. The grounds of this motion were that the said corporation had made a composition with its creditors, and the trustee in bankruptcy, pursuant to an order of the United States District Court, had assigned the claim with the other assets of the said corporation to it, and that as the latter was a domestic corporation, the defendant could not require it to give security for costs. The motion was granted, and from the order this appeal was taken.
The court should not have entertained the motion, as it was clearly in violation of the stay. The action could have been continued by the original party, as the transfer was made after action brought. (Code Civ. Proc. § 756.) The motion was, therefore, one for favor and not of right. Joining with the motion for substitution of party a motion to vacate the order requiring security did not excuse the violation of the stay; for the right to move to vacate the order, which was reserved from the stay, related to such a motion upon facts which would show that the order should not have been granted in the first instance. The motion which was made did not question the validity of the order, but was based entirely upon the substitution of the new party, and, therefore, was ancillary to the granting of that motion. Orders when made must be obeyed, or the penalties for disobedience enforced. If the trustee, because of a transfer of the claim did not desire further to prosecute the action, he could suffer a dismissal of the complaint or give the security and then *762move for substitution. If the complaint were dismissed and an action commenced by the corporation, it might be that it could not be required to give security for costs; but if it desires to be substituted in this action, it must come into the case with the burden of and subject to all prior valid orders of the court.
The defendant’s attorney at the end of his affidavit in opposition to the motion asked that the complaint be dismissed, and renewed his application in this court. The Code of Civil Procedure (§ 768) provides that the adverse party may, at least three days prior to the time at which the motion is noticed to be heard, serve upon the attorney for the moving party a notice that he will move for a specified relief upon the hearing of the motion. As the defendant has not complied with this requirement it cannot be granted relief on the plaintiff’s motion nor on this appeal.
The order will be reversed, with ten dollars costs and disbursements, and the motion denied, with ten .dollars costs.
Clarke, P. J., and Dowling, J., concur; Smith and Greenbaum, JJ., dissent.