(1) Except as permitted by Sentence (2), a room containing elevator machinery shall be separated from all other parts of the building by a fire separation having a fire-resistance rating not less than that required for the vertical service space containing the elevator hoistway.
(2) A room containing elevator machinery need not be separated from the elevator hoistway that it serves provided the room and the hoistway are separated from all other parts of the building by a fire separation having a fire-resistance rating not less than that required for the vertical service space containing the elevator hoistway.