Section 198B(7) in The Code of Criminal Procedure, 1989 (1933 A. D.)
(7)The Court of Session shall record and consider any cause which may be shown by the person so directed and if it is satisfied that the accusation was false and either frivolous or vexation it may, for reasons to be recorded direct that compensation to such amount, not exceeding one thousand rupees, as it may determine, be paid by such person to the accused or to each or any of them.