It's still taxpayer money in the end.
Yes, it is taxpayer money and the taxpayer is obligated by law to cover the cost of the first appeal.