Typical. People often say they're committed to non-discrimination even as they actively discriminate against you for being queer. Your story is a crystalized example. Queer legal organizations or sometimes able to help by filing disruptive and expensive lawsuits against companies like yours that violate the law and their own policies.
But it isn't easy, because proof is often hard to come by.
I'm very sorry your career was so disrupted by anti-queer bigotry! I went through something similar in the 1980s, grilled by FBI agents equipped with a polygraph machine and laughingly (but not funny at the time!) stereotypical hot lights to aid their interrogation.
So, I emphasize very much, and I wish you the best outcome possible under the circumstances.