Every investigation conducted by a District Officer (Revenue) with reference to any claim preferred before him under Chapter VI or Chapter VII or to any matter connected with any such claim shall be taken to be a judicial proceeding within the meaning of the Pakistan Penal Code. ...