(1)If in any case in which an information has been laid by any person under the provisions of section 87, the magistrate after such inquiry as he may deem necessary is of opinion that such information was false and either frivolous or vexatious, the magistrate may for reasons to be recorded in writing direct that compensation to such an amount not exceeding one hundred rupees as he may determine be paid by such informer to the person against whom the information was laid.