I have a vague recollection of a Black teenager shot for ringing the wrong doorbell and the white homeowner not being charged for the shooting. I'm thinking this was in Mississippi or Alabama maybe.
Yeah, it generally wouldn’t be legal even in Texas. But i don’t think it will matter much to your dead body that the person who wrongly shot you in self-defense is serving jail time, hence the situation is still considered dangerous.
You have to "had reason to believe" that they were "attempting to enter unlawfully and with force", that's not quite the same as them actually having done so.