"This is an enclosure designed for an unswitched outlet... one positioned in the center of the opening. Using a switched outlet offsets the plug slightly to the left, but leaving the enclosure's cable opening at the bottom center.
As such, few plugs can actually fit in, and those that do, have a tremendous amount of strain on the cable, bending it completely at 45 degrees.
It's not really fit-for-purpose, and you'll likely fray your cable in no time. You certainly could not close the enclosure with a plug in, so you should avoid."