The binding legal principles established are: (1) A party seeking eviction under PIE must establish as a jurisdictional requirement that the occupier is not an occupier as defined by ESTA, since PIE expressly excludes from the definition of 'unlawful occupier' any person who is an occupier in terms of ESTA. (2) Pre-trial agreements purporting to waive rights under ESTA are invalid unless reduced to writing as required by s 25(3) of ESTA. (3) Section 2(1)(b) of ESTA, which extends protection to occupiers on land incorporated into townships after 4 February 1997, does not apply where the land was incorporated into a township before that date. (4) An oral right of occupation for life does not constitute a registrable real right (such as habitatio) enforceable against successors in title unless it is reduced to writing and registered against the title deed. (5) Even where occupation is unlawful under PIE, a court has discretion to refuse an eviction order if granting it would not be just and equitable, having regard to all relevant circumstances including the occupier's vulnerability, length of occupation, age, disability, and the circumstances in which the right to occupy was granted and later became unenforceable. (6) The just and equitable requirement in PIE gives effect to s 26(3) of the Constitution, which prohibits arbitrary evictions.