A person who is entitled under section 18(11)(a), (b), (c), (da) or (db)
to enter the lands for the purpose of carrying out, or assisting in carrying
out, official duties or functions is entitled to reside on the lands where
that is necessary or desirable for the purpose of carrying out that duty or
function.