(1) Article 24.011, if an affidavit is required under Article 24.011(b-1); or
(2) Article 24.12, 24.14, or 24.22.
(b) Notwithstanding any other law, a writ of attachment to which this article applies may only be issued by the judge of the court in which the witness is to testify if the judge determines, after a hearing, that the issuance of the attachment is in the best interest of justice.
(c) In making a determination under Subsection (b), the judge shall consider the affidavit of the attorney representing the state or the defendant, as applicable, that was submitted with the request for the issuance of the attachment.
(d) The court shall appoint an attorney to represent the witness at the hearing under Subsection (b), including a hearing conducted outside the presence of the witness.
Added by Acts 2017, 85th Leg., R.S., Ch. 292 (S.B. 291), Sec. 3, eff. September 1, 2017.