(Un)Equal protection: Why gender equality depends on discrimination