Section 665. Liability of Companies.--No surety company having signed a bond, undertaking, or obligation shall be permitted to deny its corporative power to execute such instruments or incur such liability in any proceeding to enforce liability against it thereunder.