Extension of period authorized for stay
(5) Subject to subsection (5.1), if a temporary resident has applied for an extension of the period authorized for their stay and a decision is not made on the application by the end of the period authorized for their stay, the period is extended until
(a) the day on which a decision is made, if the application is refused; or
(b) the end of the new period authorized for their stay, if the application is allowed.