A little-known law could force homeowners to allow neighbours access to their land.