I have a ton of existing high bay HID fixtures on an industrial job site that are connected by cords, some are hardwired & some are plugged in. The HID fixtures I have been putting in are connected by factory installed twistlock plugs & plugged into a female cord end which is hardwired to a jbox with a strain relief connector.
I question this install after reading this post & 410.30(C)(1)(1) because even though the female cord end is located directly above, the jbox,"outlet", is usually not.
The reason why it is installed this way is because in order to provide proper light coverage the fixtures are at various levels & offset from the conduit &/or boxes, because of ducts & other such things. (Typical of an industrial or even commercial installation.) This also allows the fixture to be disconnected, for a lamp change or whatever, without having to reach the 20' high jbox.