Where the structure is capable of approval in itself, a subsequent building permit can cure the unlawful state.
Where the existing structure can be reconciled with zoning and building law, the owner can apply for a subsequent building permit. If it is granted, the previously unlawful state is cured. As long as the application is pending, a removal or demolition order is generally held back.
First examine whether the structure is capable of approval in itself and which documents the application requires. A legal assessment clarifies how to frame the application and which adjustments to the structure make the permit possible.