Certainly, an attorney would be able to help. However, as a Realtor, I've experienced sellers/clients that had not applied for required building permits for additions. In my area, the town has a certificate of occupancy prior to the closing. The sellers then are required to apply for the building permit and go thru the inspections plus pass the C. O. Inspection. Only telling you what has happened here. The attorney certainly will know about your area.