In all cases where a receiver is in possession of such real property by appointment of the court in a mortgage foreclosure suit or in any suit wherein a receiver is charged with the collection of the rents and income of such real property, and the owner or any person interested therein or the receiver thereof shall fail or refuse to make proper payments to the collector upon delinquent taxes against such real property or delinquent taxes for which such real property has been sold, including penalties, interest and other charges and costs, the collector, at any time during the pendency of any such suit, may intervene by verified petition in such suit and apply to the court for such order or orders as the court may deem proper for the payment of such delinquent taxes, penalties, interest and other charges and costs, in accordance with the priority of lien and right of such taxes, penalties, interest and other charges and costs, as is by law provided for other liens, rights and interests.
N.J.S. § 54:4-131