Section 339(Exception) in The Indian Penal Code, 1860
(Exception)— The obstruction of a private way over land or water which a person in good faith believes himself to have a lawful right to obstruct, is not an offence within the meaning of this section.