If the court hearing any such action is satisfied that the taxpayer had good cause to believe his or her 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 or her costs, and if judgment be finally entered in his or her favor, he or she may be allowed as part of the costs a reasonable compensation for his or her attorney.
(Amended by electors 11-7-00)