Covered by Texas Penal Code 9.43.
On the face of it, I’d say he may be safe from conviction under that provision.