The courts decided that discriminating against some women is required for athletic competitions to be “fair” to other women.