This was part of the issue in the South African Human Rights Commission case, delivered last week. The City of Cape Town argued that the structures the demolished were unoccupied, and as such do not fall under the provisions of PIE. Being unoccupied, there was nobody to evict. The applicants, however, argued that those evicted have been living in the structures (in other words, it was occupied), and therefore they are entitled to the protection of section 26 of the Constitution.
A post on why using the metaphor of was is problematic to use when trying to manage a pandemic.