District and federal officials negotiated for months, and a solution appeared imminent as recently as last week, when the district put up privacy curtains in the locker room.