City of Firebaugh, CA
Fresno County
By using eCode360 you agree to be legally bound by the Terms of Use. If you do not agree to the Terms of Use, please do not use eCode360.
Table of Contents
Table of Contents
a. 
It is the purpose of the provisions of this chapter to provide a just, equitable, and practicable method, to be cumulative with and in addition to any other remedy under this code or otherwise available at law, whereby buildings or structures which are dilapidated, unsafe, dangerous, unsanitary, or are a menace to the life, limb, health, morals, property, safety and general welfare of the people of this city, or which tend to constitute a fire hazard, may be required to be repaired, vacated, or demolished.
b. 
The provisions of this chapter shall apply to all buildings, as herein defined, which are now in existence or which may hereafter be constructed in the city.
[Ord. #85-2, S1]
[Ord. #85-2, S1]
a. 
The building official is charged with enforcement of the provisions of this chapter. All of the powers and duties vested in the building official relating to the abatement of dangerous buildings pursuant to this chapter may be exercised and performed by the fire marshal.
b. 
Whenever necessary to make an inspection pursuant to a permit issued under this chapter or Chapter 8 of this code, or whenever the building official or his authorized representative has cause to suspect that there exists in any building or premises any condition which makes such building or premises dangerous as defined in section 8.5-10 of this chapter, the building official or his authorized representative may enter such building or premises at all reasonable times to perform any duty imposed upon the building official by this chapter; provided, that if such building or premises be occupied, he shall first present proper credentials and demand entry, and if unoccupied, he shall first make a reasonable effort to locate the owner or other persons having charge or control of the building or premises and demand entry. No owner or occupant or other person having charge or control of any building or premises shall fail or refuse, after proper demand made as herein provided, to promptly permit entry therein by the building official or his authorized representative for the purpose of inspection and examination pursuant to this chapter.
[Ord. #85-2, S1]
[Ord. #85-2, S1]
All buildings or portions thereof which are determined by the building official to be dangerous as defined in this chapter are hereby declared to be public nuisances and shall be abated by repair, rehabilitations, demolition, or removal in accordance with the procedure specified in section 8.5-11 of this chapter.
[Ord. #85-2, S1]
No person, firm, or corporation, whether as owner, lessee, sublessee, or occupant, shall erect, construct, enlarge, alter, repair, move, improve, remove, demolish, equip, use, occupy, or maintain any building or lot, or cause or permit the same to be done, contrary to or in violation of any of the provisions of this chapter or Chapter 8 of this code, and each day that any building or lot is used, occupied, or maintained contrary to or in violation of any provisions thereof shall be deemed a separate offense.
[Ord. #85-2, S1]
No person shall erect, construct, enlarge, alter, repair, move, improve, remove, convert, or demolish any building or structure, or cause or permit the same to be done, without first obtaining a separate building permit for each such building or structure from the building official in the manner and according to the conditions prescribed in Chapter 8 or this chapter, as the case may be.
[Ord. #85-2, S1]
Whenever a building permit is required by section 8.5-6 of this chapter, the appropriate fees shall be paid to the City of Firebaugh.
[Ord. #85-2, S1]
All buildings or structures within the scope of this chapter and all construction or work for which a permit is required shall be subject to inspection by the building official in accordance with and in the manner provided by this chapter and Chapter 8.
For the purpose of this chapter, certain words, phrases, and terms, and their derivatives shall be construed as specified in this section. Words, phrases and terms used in this chapter, but not specifically defined herein, shall have the meanings as defined in Chapter 8 (the Building Code).
a. 
COUNCIL – shall mean the city council of the City of Firebaugh.
b. 
DANGEROUS BUILDING – See section 8.5-10.
c. 
OCCUPY – shall mean to use for human habitation, for living, sleeping, cooking, or eating purposes, or any combination thereof, or for the conduct of any business, profession, occupation, or calling, including storage of merchandise or materials of any kind.
d. 
BUILDING OFFICIAL – shall mean the Firebaugh Building Inspector, the fire chief or other person designated by the city manager to enforce the provisions of this chapter or Chapter 8 of this code.
e. 
HEALTH OFFICER – shall mean the agent or representative of the Fresno County Health Department charged with inspection and enforcement of housing, sanitation and safety laws.
[Ord. #85-2, S1]
a. 
For the purpose of this chapter, any building or structure which has any or all of the conditions or defects hereinafter described shall be deemed a dangerous building:
1. 
Whenever any door, aisle, passageway, stairway or other means of exit is not of sufficient width or size, or is not so arranged as to provide safe and adequate means of exit, in case of fire or panic, for all persons housed or assembled therein who would be required to, or might, use such door, aisle, passageway, stairway or other means of exit;
2. 
Whenever the stress in any materials, member or portion thereof, due to all dead and live loads, is more than 1 1/2 times the working stress or stresses allowed in Chapter 8 of this code;
3. 
Whenever any portion thereof has been damaged by earthquake, wind, flood, or by any other cause, in such a manner that the structural strength or stability thereof is appreciably less than it was before such catastrophe and is less than the minimum requirements of this chapter for a new building of similar structure, purpose or location;
4. 
Whenever any portion or member or appurtenance thereof is likely to fail, or to become detached or dislodged, or to collapse and thereby injure persons or damage property;
5. 
Whenever any portion of a building, or any member, appurtenance or ornamentation on the exterior thereof is not of sufficient strength or stability, or is not so anchored, attached or fastened in place so as to be capable of resisting a wind pressure of 1/2 that specified in Chapter 8 of this code without exceeding the working stresses permitted in Chapter 8 of this code;
6. 
Whenever any portion thereof has settled to such an extent that walls or other structural portions have materially less resistance to winds or earthquakes that is required in the case of new construction;
7. 
Whenever the building or structure, or any portion thereof, because of dilapidation, deterioration, decay, faulty construction, or because of the removal or movement of some portion of the ground necessary for the purpose of supporting such building or portion thereof, or some other cause, is likely to partially or completely collapse, or some portion of the foundation or underpinning is likely to fall or give away;
8. 
Whenever, for any reason whatsoever, the building or structure, or any portion thereof, is manifestly unsafe for the purpose for which it is used;
9. 
Whenever the exterior walls or other vertical structural members list, lean or buckle to such an extent that a plumb line passing through the center of gravity does not fall inside the middle third of the base;
10. 
Whenever the building or structure, exclusive of the foundation, shows 33% or more of damage or deterioration to the member or members, or 50% of damage or deterioration or a nonsupporting enclosing or outside wall or covering;
11. 
Whenever the building or structure has been so damaged by fire, wind, earthquake or flood, or has become so dilapidated or deteriorated as to become an attractive nuisance to children who might play therein to their danger, or as to afford a harbor for vagrants, criminals or immoral persons, or as to enable persons to resort thereto for the purpose of committing nuisance or unlawful or immoral acts;
12. 
Whenever any building or structure which has been constructed, or which now exists or is maintained in violation of any specific requirement or prohibition, applicable to such building or structure, of the building regulations of this city, as set forth in Chapters 8 or 16 of the Firebaugh Municipal Code relating to the prevention of fire, when so determined and reported by the fire marshal, or of any law or ordinance of the state or city relating to the condition, location or structure of buildings.
13. 
Whenever any building or structure which, whether or not erected in accordance with all applicable laws, and ordinances, has in any nonsupporting part, member or portion, less than 50%, or in any supporting member less than 66% of the strength, fire-resisting qualities or characteristics or weather-resisting qualities or characteristics required by law or ordinance in the case of a newly constructed building of like area, height and occupancy in the same location;
14. 
Whenever a building or structure, used or intended to be used for dwelling purposes, because of a dilapidation, decay, damage, or faulty construction or arrangement, or otherwise, is unsanitary or unfit for human habitation or is in a condition that is likely to cause sickness or disease, when so determined by the health officer, or is likely to work injury to the health, safety or general welfare of those living within;
15. 
Whenever the building or structure, used or intended to be used for dwelling purposes, has light, air, and sanitation facilities inadequate to protect the health, safety, or general welfare of persons living within;
16. 
Whenever any building or structure by reason of obsolescence, dilapidated condition, deterioration, damage, electric wiring, gas connections, heating apparatus, or other cause, is in such condition as to be a fire hazard and is so situated as to endanger life or other buildings or property in the vicinity or provide a ready fuel supply to augment the spread and intensity of fire arising from any cause.
b. 
For the purpose of this chapter, any building defined as a substandard building by section 8.5-10 of this code shall be deemed a dangerous building.
[Ord. #85-2, S1]
a. 
Whenever the building official has inspected or caused to be inspected any building and has found and determined that such building is a dangerous building, he shall commence proceedings to cause the repair or rehabilitation of the building or, if he finds that repairs or rehabilitation are impracticable, to cause the vacation and demolition of the building.
b. 
The building official shall issue a notice and order directed to the record owner of the building and the person, if any, occupying or otherwise in real or apparent charge and control of the building. The notice and order shall contain:
1. 
The street address and a legal description sufficient for identification of the premises on which the building is located;
2. 
A statement that the building official has found the building to be dangerous and a public nuisance, with a brief description of the conditions which render the building dangerous and a public nuisance under the provisions of sections 8.5-4 and 8.5-10 of this chapter, including, whenever an order to vacate and demolish is given, a finding that repair or rehabilitation is impracticable, with a brief statement of the facts upon which such finding is based;
3. 
An order to secure permits and physically commence, within 60 days from the date of service of the notice and order, and to complete within 120 days from such date, the elimination of the described conditions or, if repair or rehabilitation has been found impracticable, to vacate the building and commence demolition within 60 days and complete demolition within 120 days from such date of service;
4. 
A statement advising that if the required repair or demolition work is not commenced within the time specified, the building official will order the building vacated and posted to prevent further occupancy until the work is completed, and may proceed to cause the work to be done and assess the costs thereof against the property; and,
5. 
A statement advising that any person having any record title or interest in the building may appeal from the notice and order or any action of the building official to the council provided the appeal is made in writing as provided in this section, and filed with the building official within 30 days from the date of service of such notice and order.
c. 
The notice and order, and any amended notice and order, shall be serviced upon each person to whom it is directed, and one copy thereof shall be serviced on each of the following: the holder of any mortgage or deed of trust or other lien or encumbrance of record; the owner or holder of any lease of record; and the holder of any other estate or interest of record in or to the building or the land on which it is located. The failure of the building official to make or attempt service on any person required herein to be served shall not invalidate any proceedings hereunder as to any other person duly served from any duty or obligation imposed on him by the provisions of this section.
d. 
Service of the notice and order shall be made upon all persons entitled thereto either personally or by mailing a copy of such notice and order by certified mail, postage prepaid, return receipt requested, to each such person at his address as it appears on the last equalized assessment roll of the county or as known to the building official. If no address of any such person so appears or is known to the building official, then a copy of the notice and order shall be so mailed, addressed to such person, at the address of the building involved in the proceedings. The failure of any such person to receive such notice shall not affect the validity of any proceedings taken under this section. Service by certified mail in the manner herein provided shall be effective on the date of mailing.
e. 
Proof of service of the notice and order shall be documented at the time of service by a declaration under penalty of perjury executed by the person effecting service, declaring the time and manner in which service was made. The declaration, together with any receipt card returned in acknowledgement of receipt by certified mail shall be affixed to the copy of the notice and order retained by the building official.
f. 
At the time the notice and order is serviced, the building official may file in the office of the county recorder a certificate legally describing the property and certifying that the building is a dangerous building and the owner has been so notified. Whenever the corrections ordered shall have been completed, or the notice and order reversed, modified or set aside by the council upon appeal, so that the building no longer exists as a dangerous building on the property described in the certificate, the building official shall file a new certificate with the county recorder that the building has been demolished or removed or is no longer dangerous.
[Ord. #85-2, S1]
If the building official finds from inspection he has made or caused to be made of any building that there exists therein or on the premises thereof any conditions imminently dangerous to life should such building be or remain occupied by human beings, he may order the immediate evacuation of such building, if occupied, and shall cause to be posted at each entrance thereto a notice reading:
"DO NOT ENTER
UNSAFE TO OCCUPY — 
BUILDING OFFICIAL OF CITY OF FIREBAUGH.
It is a misdemeanor to occupy this building or to remove or deface this notice.
Firebaugh Municipal Code Section
8.5-12"
Whenever such notice is posted, the building official shall include a notification thereof in the notice and order issued by him under paragraph b of section 8.5-11, reciting the emergency and specifying the conditions which necessitate the posting. No person shall remain in or enter any building which has posted at each entrance door thereof a notice as prescribed in this section, except that entry may be made to repair, demolish or remove such building. No person shall remove or deface any such notice so posted until the required repairs, demolition, or removal have been completed and a certificate of occupancy issued pursuant to the provisions of this chapter or Chapter 8, as the case may be.
[Ord. #85-2, S1]
a. 
Any person entitled to service under paragraph c., section 8.5-11 may appeal from any notice and order or any action of the building official by filing at the office of the building official within 30 days from the date of service of such order, a written, dated appeal, in duplicate, containing:
1. 
A brief statement setting forth the legal interest of each of the appellants in the building or land involved in the notice and order;
2. 
A brief statement in ordinary and concise language of the specific order or action protested, together with any material facts supporting the contentions of the appellant;
3. 
A statement of the relief sought, and the reasons why it is claimed the protested order or action should be reversed, modified, or set aside;
4. 
The signature of all parties named as appellants, and their official mailing addresses;
5. 
The verification of at least one appellant as to the truth of the matters stated in the appeal.
b. 
Upon receipt at his office of any appeal filed pursuant to this section, the building official shall cause one copy to be stamped to show date of receipt and shall present the appeal at the next regular meeting of the council.
c. 
Written notice of the time and place of the hearing shall be given, at least 10 days prior to the date of the hearing, to each appellant by the building official either by causing a copy of such notice to be delivered to the appellant personally or by mailing a copy thereof, postage prepaid, addressed to the appellant at his address shown on the appeal. Copies of the notice shall be delivered to the city manager and the city attorney.
d. 
Continuances of the hearing may be granted by the council on motion of either party for good cause shown, or on the council's own motion.
e. 
The hearing shall be informally conducted, and the technical rules of evidence shall not apply, except that irrelevant and unduly repetitious evidence shall be excluded. Oral evidence shall be received only on oath or affirmation. During the course of the hearing the council may visit and inspect any building or premises involved in the proceeding, any may there receive oral testimony of any sworn witness.
f. 
An appellant may present his case personally or by attorney. The hearing must proceed in the following order, unless the council for special reasons otherwise directs:
1. 
The building official may state the issue and his case.
2. 
The appellant may then state his defense, if he so wishes, or wait until after the building official has produced his evidence.
3. 
The building official must then present evidence in support of the notice and order.
4. 
The appellant may then open his defense, if he has not done so previously.
5. 
The appellant may then produce the evidence on his part.
6. 
The parties may then respectively offer rebutting evidence.
7. 
Oral arguments or summation may be given after all evidence is in, with the building official opening and closing.
8. 
At the conclusion of the hearing, the council shall consider the evidence presented and shall make written findings of fact, based upon the evidence, to support its decision. The decision may affirm, reverse, modify or set aside any order or action of the building official. A majority of the members present of the council must concur in any such decision. The decision of the council shall be final.
g. 
(Reserved)
h. 
Written findings and decision shall be rendered by the council within 10 days from the date the hearing is concluded, and copies thereof shall be delivered to each appellant and the building official. Proof of service shall be filed with the official records of the case.
i. 
Except for emergency evacuation orders made pursuant to section 8.5-12, enforcement of any notice and order of the building official issued under this chapter shall be stayed during the pendency of an appeal therefrom properly and timely filed.
[Ord. #85-2, S1]
a. 
After any order of the building official made pursuant to this chapter shall have become final, either by decision of the council affirming the same in part or in whole or by failure to file an appeal within the time prescribed herein, no person to whom any such order is directed shall fail, neglect, or refuse to obey any such order of the building official.
b. 
If, after any order of the building official made pursuant to this chapter has become final, either by decision of the council affirming the same in part or in whole or by failure to file an appeal within the prescribed time, the owner, lessee, occupant or other person in charge and control of the building which is the subject of such order shall continue to occupy or maintain such building without making the corrections thereof as required by such order, the building official may prosecute such owner, lessee, occupant or other person under paragraph a of this section, institute court action to abate such building as a public nuisance, or pursue other remedies allowed by law.
c. 
Whenever work is not commenced within the time specified in the notice and order and no appeal has been filed, and whenever work is not commenced pursuant to any notice and order, as affirmed or modified by the council, within 10 days from the date of service of the decision of the council after hearing on appeal:
1. 
The building official may cause the building or buildings described in such notice and order to be vacated by posting at each entrance thereto a notice reading:
"DANGEROUS BUILDING
DO NOT OCCUPY  — 
BUILDING OFFICIAL OF CITY OF FIREBAUGH
It is a misdemeanor to occupy this building or to remove or deface this notice. Firebaugh Municipal Code Section 8.5-14c1."
No person shall occupy any building which has been posted at each entrance door thereto a notice as prescribed in this subparagraph. No person shall remove or deface any such notice so posted until the repairs, demolition, or removal ordered by the building official have been completed and certificate of occupancy issued pursuant to the provisions of the Firebaugh Municipal Code.
2. 
The building official shall have the power, in addition to any other remedy herein provided, to cause the building to be repaired to the extent reasonably necessary to correct the conditions which render the building dangerous as set forth in the notice and order or, if the notice and order shall have directed demolition, to cause the building to be sold and demolished or demolished and the materials, rubble and debris therefrom removed and the lot cleaned. Any such repair or demolition work shall be accomplished and the cost thereof paid and recovered in the manner hereinafter provided in this chapter. Any surplus realized from the sale of any such building, or from the demolition thereof, over and above the cost of demolition and of cleaning of the lot shall be paid over to the person or persons lawfully entitled thereto.
[Ord. #85-2, S1]
[Ord. #85-2, S1]
Upon receipt of an application from the person required to conform to the order and an agreement by such person that he will comply with the order if allowed additional time, the building official may, in his discretion, grant an extension of time, not to exceed an additional 120 days, within which to complete said repair, rehabilitation, or demolition, if the building official determines that such an extension of time will not create or perpetuate a situation imminently dangerous to life or property. The building official's power to extend time is limited to the physical repair, rehabilitation, or demolition of the premises and will not in any manner affect or extend the time to appeal his notice and order.
[Ord. #85-2, S1]
Whenever the council has adopted a plan for the revitalization, rehabilitation, renewal, or redevelopment of any specified area of the city, then with respect to any building in such area, and except as to repair or rehabilitation which the building official determines is required to correct a situation imminently dangerous to life or property, the repair or rehabilitation required by the order may be phased over a reasonable period of time, not to exceed five years, provided that the person required to conform to the order has entered into an agreement with the city, approved by the council and the redevelopment agency pursuant to a redevelopment plan, providing, for orderly phased repair or rehabilitation, as well as such additional matters as are required by the plan. In the event that there is a failure to comply with any of the provisions of such agreement, the provisions of this section shall no longer apply, and there shall be immediate compliance with requirements of the order pertaining to the building covered by the agreement.
a. 
When any work of repair or demolition is to be done pursuant to section 8.5-14 hereof the building official shall issue his order causing the work to be accomplished. Plans and specifications may be prepared by said director, or he may employ such architectural and engineering assistance on a contract basis as he may deem reasonably necessary.
b. 
The cost of such work of repair or demolition shall be paid from the Repair and Demolition Fund.
[Ord. #85-2, S1]
a. 
There is hereby established a special revolving fund to be designated as the Repair and Demolition Fund. Payments shall be made out of said fund upon the demand of the building official to defray the costs and expenses which may be incurred by the city in causing the necessary work of repair or demolition of substandard, unsafe or dangerous buildings.
b. 
The council may at any time transfer to the Repair and Demolition Fund, out of any money in the General Fund of the city such sums as it may deem necessary in order to expedite the performance of repair or demolition, and any sum so transferred shall be deemed a loan to the Repair and Demolition Fund and shall be repaid out of the proceeds of the assessments hereinafter provided for in this chapter. All funds collected under the proceedings hereinafter provided for, either upon voluntary payments or as a result of the sale of property after delinquency, shall be paid when collected to the director of finance, who shall place the same in the Repair and Demolition Fund.
[Ord. #85-2, S1]
[Ord. #85-2, S1]
The building official shall keep an itemized account of the net expense incurred by the city in the repairing or demolishing of any building. Upon the completion of the work of repair or demolition, said official shall prepare and file with the city manager a report specifying the work done, the itemized net cost of the work, a description of the real property upon which the building or structure is or was located, the names and addresses of the person entitled to notice pursuant to paragraphs a and c of section 8.5-11, and the amount of the assessment against each lot or parcel of land proposed to be levied to pay the cost of the work. Any such report may include repair or demolition work on any number of buildings on any number of parcels of property, whether or not contiguous to each other.
[Ord. #85-2, S1]
Upon receipt of the report of the city manager, the clerk shall fix time and place, when and where the council will hear and pass upon the report. The clerk or building official shall cause notice of the amount of the proposed assessment, as shown in the report to be given in the manner and to the persons specified in paragraphs c and d of section 8.5-11. Such notice shall contain a description of the property sufficient to enable the persons serviced to identify it, and shall specify the day, hour, and place when the council will hear and pass upon the report, together with any objections or protests, if any, which may be raised by any property owner liable to be assessed for the cost of such repair or demolition and any other interested persons. Such notice of the hearing shall be so given not less than 15 days prior to the time fixed by the council for the hearing, and shall also be published one time, at least 15 days prior to the date of hearing, in a daily newspaper published and circulated in the city.
[Ord. #85-2, S1]
Any interested person may file a written protest with the city clerk at any time prior to the time set for the hearing on the report of the building official. Each such protest shall contain a description of the property in which the person signing the protest is interested and the grounds of such protest. The city clerk shall endorse on every such protest the date and time of filing in his office, and shall present such protest to the council at the time set for the hearing.
[Ord. #85-2, S1]
Upon the day and hour fixed for the hearing the council shall consider the report of the building official, together with any protests which have been filed with the city clerk as hereinbefore provided. The council may make such revision, correction or modification in the report as it may deem just, and when the council is satisfied with the correctness of the assessment, the report and proposed assessment, as submitted or as revised, corrected or modified, shall be confirmed. The decision of the council on the report and the assessment and on all protests shall be final and conclusive. The council may adjourn the hearing from time to time.
[Ord. #85-2, S1]
The validity of any assessment levied under the provisions of this chapter shall not be contested in any action or proceeding unless such action or proceeding is commenced within 30 days after the assessment is confirmed by the council.
a. 
Immediately upon the confirmation of the assessment by the council, the building official shall file in the office of the County Recorder of Fresno County a certificate in substantially the following form:
NOTICE OF LIEN
Pursuant to the authority vested in the Building Official by the provisions of Chapter 8 of the Firebaugh Municipal Code, said Building Official did on or about the _____ day of __________, 20_____, cause the building or structure on the property hereinafter described to be repaired or demolished (as the case may be) in order to abate a nuisance on said real property, and the Council of the City of Firebaugh did on the _____ day of __________, 20_____, assess the cost of such repair or demolition (as the case may be) upon the real property hereinafter described, and the same has not been paid nor any part thereof, and the said City of Firebaugh does hereby claim a lien on said real property for the net expense of the doing of said repair or demolition (as the case may be) in the amount of said assessment, to wit: the sum of $_____, and the same shall be a lien upon said real property until the sum has been paid in full and discharged of record.
The real property hereinbefore mentioned, and upon which a lien is claimed, is that certain parcel of land lying and in the City of Firebaugh, County of Fresno, State of California, and particularly described as follows:
(DESCRIPTION)
DATED: This _____ day of _______________, 20_____.
Building Official of the City of Firebaugh
(ACKNOWLEDGEMENT)
b. 
Immediately upon the recording of the notice of lien the assessment shall constitute a lien on the real property assessed. Such lien shall, for all purposes, be upon a parity with the lien of state, county and city taxes.
[Ord. #85-2, S1]
a. 
The notice of lien, after recording shall be delivered to the Auditor of Fresno County, who shall enter the amount thereof on the county assessment book opposite the description of the particular property and the amount shall be collected together with all other taxes thereon against the property. The notice of lien shall be delivered to the Auditor before the date fixed by law for the delivery of the assessment book to the county board of equalization.
b. 
Thereafter the amount set forth in the notice of lien shall be collected at the same time and in the same manner as ordinary property taxes are collected, and shall be subject to the same penalties and interest and to the same procedure under foreclosure and sale in case of delinquency as provided for ordinary property taxes. All laws applicable to the levy, collection and enforcement of taxes are hereby made applicable to such assessment.
[Ord. #85-2, S1]
[Ord. #85-2, S1]
No person shall obstruct, impede, or interfere with any officer, employee, contractor or authorized representative of the city, or with any person who owns or holds any estate or interest in any building which has been ordered by the building official to be repaired, vacated and repaired, demolished or removed, or with any person to whom such building has been lawfully sold pursuant to the provisions of this chapter, whenever such officer, employee, contractor or authorized representative of the city, person having an interest or estate in such building or structure, or purchaser is engaged in the work of repairing, vacating and repairing, or demolishing any such building, pursuant to the provisions of this chapter, or in performing any necessary act preliminary to or incidental to such work or authorized or directed pursuant to this chapter.