2. No costs shall be adjudicated against any justice of the peace in any suit contemplated in section 846 of the Code of Civil Procedure unless, on proof of the bad faith of the justice of the peace, the court otherwise orders.
This section shall not apply to municipal judges or to persons having the powers of two justices of the peace.
R. S. 1964, c. 25, s. 9; 1966, c. 9, s. 5.