Keep enforcing it anyway. The Fifth Amendment and the Fourteenth Amendment protect laws like this.
That is what Texas should do.