It may be correct (that you can't.) See 250.96 & 97 for starters.. . . I can't find an NEC violation except that there isn't a bonded bushing with 10 ga copper minimum EGC (from Table 250-122). Is this correct?
It's 240V so 250.97 doesn't apply.