I would try to stick only to your scope and don't touch anything else. I don't know of any code or law that requires we police what other people do (I may be wrong). If the local law allows, leave all permitting up to the owner/builder, make sure what you touch is done correctly, and if the panel is in violation, either give him a price to correct it, or leave the wires AC unhooked and tell him it needs to be corrected by the other contractor before it gets connected (return trip is extra),