Any company which shall execute a bond as surety under the provisions of this chapter shall be estopped to deny its corporate power to execute the instrument or to assume the liability.