I think this is a case where the code is lacking, or I cant find a section that address it.
How would you handle the picture that electure shows with a hermetically sealed pump with a 50' cord. Break the seal and hardwire it? Install a GFI in the collection well?
Elevator installers around here require a conduit for the pump. We have specialized state inspectors that charge around $2,000 for elevator inspections along with the city inspectors. None have ever batted an eye at the cord ran through the conduit.
I would be open for a suggestion that didn’t require an outlet in what I would consider a hazardous place, or breaking the seals on pumps.