Where in the Boca code is inside safe a violation? The NEC has code for such installation.Had the same thought. Fire hazard.
Where in NFPA Code 1 is it a violation? Fire and electrical codes cross but are closely related to one another.
Unless installed outside BOCA requirements which meet NFPA regulations they are legal in NJ as installed.