Most times the AHJ would ask the EC to go into the house and check it out to make sure that the wiring is OK in the dwelling. Then the EC would get an inspection from the AHJ and if that passes, the AHJ would send it a cut card to the POCO to restore power to the building. The AHJ wouldn't try to get the home up to the latest code. but just to make sure that the house is safe to bring power back to the house.