A person is exempt for the purposes of this section if he is exempt from provisions of this Act as a result of section 8(2) or (3).
If a person who is exempt—
he is to be treated as if he had been given leave to remain in the United Kingdom for a period of 90 days beginning on the day on which he ceased to be exempt.
If—
his leave is to be treated as expiring at the end of that period.
References in this section to a person who ceases to be exempt do not include a person who ceases to be exempt by virtue of section 8B(3).