Before any unauthorized foreign or alien insurer shall file or cause to be filed any pleading in any action, suit, or proceeding instituted against it, the unauthorized insurer shall deposit with the clerk of the court in which the action, suit, or proceeding is pending, cash or securities, or file with the clerk a bond with good and sufficient sureties, to be approved by the court, in an amount to be fixed by the court sufficient to secure the payment of any final judgment which may be rendered in the action, or procure a certificate of authority to transact the business of insurance in this state.
R.I. Gen. Laws § 27-16-10