If a domestic corporation shall be convicted of a second offense, the superior court shall have jurisdiction upon an action brought by the attorney general on the part of the state, and if a foreign corporation shall be convicted of a second offense, the superior court shall have jurisdiction in the same manner, to restrain the corporation from doing business in this state.
R.I. Gen. Laws § 6-17-3