rental demolish requires asbestos remediation.

Rental house damaged by fire declared by city as not habitable.  City requires asbestos removal prior permit for demolition.  I know that demolition cost is added to land basis.  Is the required asbestos removal deductible or must it too be capitalized.  The City will not provide a permit to demolish until the building is rendered safe of hazardous materials.