(1) 'Agency' or 'state agency' means each state board, commission, department, executive department, or office, other than the General Assembly or the courts, charged with the regulation of buildings or other structures by enforcing a nationally recognized code.