law: 45. Applicant, if entitled to possession, not to be deemed trespasser for any error in proceedings. Occupant may sue for compensation.-
  When the applicant, at the time of applying for any such order as aforesaid, was entitled to the possession of such property, neither he nor any person acting in his behalf shall be deemed, on account of any error, defect or irregularity in the mode of proceeding to obtain possession thereunder, to be a trespasser; but any person aggrieved may bring a suit for the recovery of compensation for any damage which he has sustained by reason of such error, defect or irregularity: when no such damage is proved, the suit shall be dismissed; and when such damage is proved but the amount of the compensation assessed by the Court does not exceed ten rupees, the Court shall award to the plaintiff no more costs than compensation, unless the Judge who tries the case certifies that in his opinion full costs should be awarded to the plaintiff.