Minnesota has a specific process for hazardous-building proceedings. Under Minnesota Statutes section 463.17, a written order must describe necessary repairs, give a reasonable time to comply, and set out the court-enforcement step. This applies to the statutory hazardous- building process; the actual notice tells you which requirements and deadlines apply to your property.
If a court judgment is not followed by its deadline, section 463.21 allows the municipality to complete or correct the work and recover its cost. The cost may become a lien against the property or be recovered by judgment against the owner. An existing order, court case, lien, or deadline is not automatically erased by a sale.
When you sell to us, we're the buyer, so the repairs become our job.