Tex. Code Crim. Proc. art. 46B.007
A statement made by a defendant during an examination or trial on the defendant's incompetency, the testimony of an expert based on that statement, and evidence obtained as a result of that statement may not be admitted in evidence against the defendant in any criminal proceeding, other than at:
Added by Acts 2003, 78th Leg., ch. 35, Sec. 1, eff. Jan. 1, 2004.
Acts 2005, 79th Leg., Ch. 324 (S.B. 679), Sec. 3, eff. September 1, 2005.