The Building Codes, Property Codes and Zoning Code Department and its Department officers are hereby appointed, and it shall be the duty of the Building Codes, Property Codes and Zoning Code Department and its Department officers to carry out the functions and purposes of this chapter, to perform the duties assigned by this chapter and to administer and enforce this chapter by making such inspections, tests, requirements, notices, orders and decisions as are necessary or appropriate to ensure that the provisions of this chapter are met and compliance is achieved. However, except where certain matters under this chapter have been expressly left to the discretion or judgment of the Department or a Department officer, the Department and its Department officers shall administer this chapter in accordance with its literal terms and shall have no power to permit any act, conduct, use, occupancy, change, condition or work which would not conform to the provisions of this chapter.