I would personally do everything possible to get the dress code to forbid women from wearing pants. See how far that goes.

Adam