I think I saw a better one than this a few years ago. Part of squatters rights says if you occupy a property (or piece of land) for more than X years (10 I think) then it defaults to your possession.
Was a chap in one of the London boroughs squatted a council house, the council forgot about it and X years later he inherited a 200k semi by default