Lawyers for United Airlines Inc. are denying a federal agency’s claims that the company created a hostile workplace for failing to adequately punish a commercial pilot who continually posted nude photos of a female flight attendant.

The U.S. Equal Employment Opportunity Commission in August sued United in San Antonio federal district court, alleging the Chicago-based company “created, enabled and perpetuated” a hostile workplace and didn’t do enough to protect the flight attendant.