If the field modification involves using a listed/recognized component specifically intended for such a use (in this case panel mounting a socket), does that void the original UL Certificate on the equipment being modified?

I can understand the concern if the mod involved pigtailing a standard in-wall twist-lock and drilling and punching holes in the panel in order to mount it.

Wouldn't this be in the same category as replacing a standard two-pin plug on a piece of equipment (like a life-support machine) with a twistlock (of same volt & amp config) so that it doesn't get yanked by accident out of the wall socket?