If the court hearing any such action be satisfied that the taxpayer had good cause to believe his allegations were well founded, or that they are sufficient in law, it shall make such order as the equity and justice of the case demand. In such case the taxpayer shall be allowed his costs, and if judgment be finally entered in his favor, he may be allowed as part of the costs a reasonable compensation for his attorney.
(Effective November 9, 1931)