Section 29J. Notwithstanding section 50 of chapter 3, or any other general or special law to the contrary, a state agency or state authority shall not use state funds to pay for an executive or legislative agent, as defined in section 39 of said chapter 3, unless the executive or legislative agent is a full-time employee of the state agency or state authority.