Not all codes have the same intent that is why I would not use the IEBC for when a permit is strictly for the replacement of mechanical rooftop equipment.
The IEBC is more for public safety not worker safety.
IEBC
[A] 101.3 Intent.
The intent of this code is to provide flexibility to permit the use of alternative approaches to achieve compliance with minimum requirements to safeguard the public health, safety and welfare insofar as they are affected by the repair, alteration, change of occupancy, addition and relocation of existing buildings.
IMC
[A] 101.3 Intent.
The purpose of this code is to establish minimum standards to provide a reasonable level of safety, health, property protection and public welfare by regulating and controlling the design, construction, installation, quality of materials, location, operation and maintenance or use of mechanical systems.
IBC
[A] 101.3 Intent.
The purpose of this code is to establish the minimum requirements to provide a reasonable level of safety, public health and general welfare through structural strength, means of egress facilities, stability, sanitation, adequate light and ventilation, energy conservation, and safety to life and property from fire, explosion and other hazards, and to provide a reasonable level of safety to fire fighters and emergency responders during emergency operations.