Court of Appeal: gender segregation is sex discrimination