No appeal or other proceeding shall affect the right of the plaintiff to immediate entry into such office or franchise in accordance with the judgment of the court or order entered in conformity therewith, provided the plaintiff, upon his entry, shall give bond to the defendant in such sum and with such surety as the court may approve, conditioned to repay to the defendant so much of the emoluments of the office or franchise during the plaintiff's incumbency therein to which the defendant may be adjudged to be entitled, as well as the costs of the defendant, in the event of the reversal of the judgment of ouster of the defendant. Such bond shall be approved by a superior court judge and filed.
N.J.S. § 2A:66-13