Any person aggrieved by any order or decision of the building inspector may appeal from the order or decision of the building inspector to the board of county commissioners. Such appeal shall be in writing and filed with the county clerk within ten (10) days after the order or decision is rendered by the building inspector except in cases of emergency. The decision of the building inspector shall be final in cases of emergency which in his opinion involve imminent danger to human life or health. He shall promptly cause such building, structure, or portion thereof to be made safe or removed. He is further authorized to vacate all occupants of the unsafe building or structure and any adjacent structures, as he may deem necessary. Appeals hereunder shall be on forms provided by the building inspector and shall state the grounds of appeal. On such appeals the board of county commissioners shall have the power to affirm, limit, modify or reverse the order or decision of the building inspector and where there are practical difficulties or unnecessary hardships resulting from the strict enforcement of provisions of the code, the board of county commissioners shall have the power, in a specific case, to vary any such provision in harmony with its general purpose and intent so that the public health, safety, convenience, prosperity and general welfare may be secured and substantial justice done; provided that any such permitted variations shall not be construed as amending the code or as a waiver of any of the other provisions hereof.
Okla. Stat. tit. 19, § 863.47