In shorter words,
Neither of case above is about property rights.
In the first you assume it’s abandoned, if that’s true then fine, if there IS an owner who wants them to leave then they have to leave.
While your second case is something no one owns.