A court ruled that a New Jersey condominium complex that wanted to segregate it's swimming pool by sex can't legally do so.

A Country Place in Lakewood reportedly set separate times that men and women were permitted to use the condo's pool, according to Patch.com. The complex chose to separate by sex to accommodate Orthodox Jewish residents of the complex. In 2016, three residents, who were fined for not complying with the pool rule, sued A Country Place.

But the U.S. Court of Appeals for the Third District voted unanimously Monday to restrict that segregation, with Judge Thomas Ambro writing, "The schedule actually adopted by the Condominium Association is plainly unequal in its allotment of favorable swimming times."

SOURCE: Patch.com