I know it probably violates the listing but I have seen them cut off the plug if a rope set, route it out of a box KO through a cord connector and wirenut it to the branch circuit conductors in the box.
The solution looked safer to me than any other option I could think of. Glad it wasn't my call.


Greg Fretwell