Everything is legal except that which is prohibited.
Is there a 2 foot rule in your code or the contract? If not, the problem belongs to someone other than the installer.
I really like a 480 volt plug-in fixture, and the plug is better accessed if it isn't directly above the fixture. When I see a fixture hard-wired, I know the only consideration was the cost of the installation.