The defendant's sureties, upon a notice to the plaintiff or his attorney of not less than two nor more than six days, shall justify before the judge or the clerk of the court in which the action is pending, in the same manner as upon bail on arrest. Upon such justification the marshal shall deliver the property to the defendant. The marshal shall be responsible for the defendant's sureties until they justify, or until justification is completed or expressly waived, and may retain the property until that time; but if they or others in their place fail to justify at the time and place appointed he shall deliver the property to the plaintiff.