Subsection (2) applies if—
The court must make an order for possession of the dwelling (subject to any available defence based on the contract-holder's Convention rights).
Subsection (4) applies if—
The court must make an order for possession of the dwelling unless section 217 (retaliatory evictions) applies (and subject to any available defence based on the contract-holder's Convention rights).
This section is subject to section 218 (review by the county court).