This section applies where a building or part of a building—
The question whether or not the alterations make the building or part unsuitable for use as a dwelling is one of fact (but see subsection (3)).
The building or part will not be regarded as having become unsuitable for use as a dwelling as a result of the alterations at any time unless by that time any planning permission , development consent or infrastructure consent required for the alterations has been granted (and the alterations have been made in accordance with any such permission or consent).
In this section "planning permission" has the meaning given by the relevant planning enactment.
"The relevant planning enactment" means—
In this section—