If any surface owner is named as a defendant and acquires an interest in the severed mineral interest by a judgement entered in accordance with subsection (g) of Section 11, said owner shall be liable to the plaintiff for his proportionate part of any taxes paid by plaintiff corresponding to said severed mineral interest and such reasonable attorney fees and costs as the court may allow and a judgment may be entered therefor in favor of the plaintiff if they are not paid as provided by the court.
765 ILCS 515/12