(a) A provision of Chapter 981, 4055, or 4056 does not apply to an agent described by Subsection (b) if the provision:
(1) requires residency in this state;
(2) requires countersignatures;
(3) prohibits the solicitation of insurance in this state by a nonresident or the payment of commissions to a nonresident; or
(4) prohibits a nonresident from acting as a surplus or excess lines agent.
(b) The exemption provided by Subsection (a) applies to an agent licensed under Chapter 981, 4055, or 4056 who is acting on behalf of a risk retention group or purchasing group operating in this state or a group member in this state in providing or placing liability insurance for risks located in this state.