Any such company which shall execute any bond as surety under the provisions of this chapter shall be estopped, in any proceedings to enforce the liability which it shall have assumed to incur, to deny its corporate power to execute such instrument or assume such liability.

Code 1919, § 284.