Teacher court fight costing taxpayers