When a setoff shall be established in an action brought by executors or administrators, and a balance found due to the defendant, the judgment rendered thereon against the plaintiff shall have the same effect as if the action had been originally commenced by the defendant.