17—Position of fence does not give rise to title by adverse possession
Notwithstanding the provisions of the Real Property Act, where a dividing
fence is erected otherwise than upon the boundary to contiguous land either in
pursuance of an agreement under this Act, or of an order of the court, neither
of the adjoining owners shall, by reason of his occupation of the land
enclosed by the fence, be deemed to be in adverse possession of any land of
the other so as to acquire title to that land in derogation of the title or
interest of the other.