Yes, it is taxpayer money and the taxpayer is obligated by law to cover the cost of the first appeal.
That's because politicians passed the law, not the people by referendum. Taxpayers should have the right to approve any money politicians want to pay out for benefits to convicted criminals, among other bogus crap politicians throw money at.