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:
Tex. Code Crim. Proc. § 46B.007