No compromise shall be effected unless all costs due these officers have been paid. Should any compromise agreement be entered into in violation of this article, each party thereto is liable to these officers for all costs due them at the time.
No judicial proceeding in which a party has been permitted to litigate without the payment of costs shall be dismissed prior to judgment, unless all costs due these public officers have been paid, or there is annexed to the written motion to dismiss the certificates of all counsel of record that no compromise has been effected or is contemplated.
No release of a claim or satisfaction of a judgment shall be effective between the parties to a judicial proceeding in which one of the parties has been permitted to litigate without the payment of costs unless all costs due the clerk of court have been paid. The clerk of court shall have a lien for the payment of such costs superior to that of any other party on any monies or other assets transferred in settlement of such claim or satisfaction of such judgment and shall be entitled to collect reasonable attorney's fees in any action to enforce this lien for the payment of such costs.
La. C.P. § 5187