"Full disclosure: I am not a lawyer"
It's a good thing you're not. Your argument is specious at best.
I want to join the women's volleyball team at Pepperdine. I'm eminently qualified, being highly athletic and 6'5" tall. I could out spike any of them. But I'm forbidden, while any female with my qualifications is not.
Is that gender discrimination?
Or is there a preexisting definition for qualified candidates?