I think the point of the trial is to determine if what happened to Pao is "because she's a woman". If there's enough evidence for that claim, then there's a legal basis for recourse.
If we could sweep any exclusionary behavior under the rug of "just office politics", there'd be no need for anti-discrimination laws in the first place.