Technically it is a panelboard inside a cabinet, inside another cabinet.Technically, wouldn't that be an enclosure in an enclosure, not a panel in a panel?
No exposed live parts, that makes it difficult to find any specific code section to cite as being in violation. I haven't found one yet to cite anyway.Replacement panelboard was installed inside the old panelboard enclosure. The old enclosure door closes. (see photo)
Wires are exposed (in the old enclosure) but I don’t see and exposed connections.
What do you think?View attachment 2556973
I don't see either those sections addressing what is in OP's picture.312.5(A)(B).