Attorneys for Amazon from Gibson, Dunn & Crutcher attempted to flip New York Attorney General Letitia James' legal argument against her Friday, arguing in a federal complaint that her office can't call state courts' safety measures comprehensive and Amazon's inadequate.

The complaint, filed in the U.S. District Court for the Eastern District of New York in response to James' list of demands sent after an investigation and two Amazon employees' claims that they were retaliated against, claims the Occupational Safety and Health Administration and the National Labor Relations Board have authority over workplace safety and retaliation claims, respectively—not the attorney general's office.