^DD, that's a different legal doctrine, called adverse possession. In Thailand you need to occupy the land for 10 years. It is also the principal reason why you build a wall round your land even if you have nothing on the land itself.