(a) Testimonial immunity is an aspect of legislative immunity that protects a legislator from questioning elsewhere than in the legislative forum.
(b) When a legislator has been improperly questioned before a grand jury concerning legislative acts, the counts in a criminal indictment that are based on the testimony must be dismissed.
(c) When a legislator is found to be immune from a civil complaint, the relief to be granted is to have the complaint dismissed or to have a writ of prohibition issued to stop further proceedings.
(d) In the case of a subpoena that seeks to improperly question a legislator's conduct as to legislative acts, to depose a legislator or to seek disclosure as to any matters pertaining to the memoranda, documents or actions by a legislator which are or were in connection with the legislative process, the subpoenas may be quashed or the court may grant a motion for a protective order.