LOL! I had never heard of "gay panic" or "trans panic" before. I had no idea what you were talking about, so I had to look it up.
https://en.wikipedia.org/wiki/Gay_panic_defense
That's... that's just fucking insane. And yes - it should be a banned defense.