In cases of practical difficulty, unnecessary hardship, or extreme differences, a building department responsible for the enforcement of this part may grant exceptions from the literal requirements of the standards and specifications required by this part or permit the use of other methods or materials, but only when it is clearly evident that equivalent facilitation and protection are thereby secured.
Ca. Health and Saf. Code § 19957