"Be happy the OSHA guy did not fine the heck out of your customer"

That's just the point, there is no written code prohibiting this.

I changed the boxes to Appleton JIC-B type boxes. Less expensive than twist-lock connectors or Woodhead products