Judge orders appropriation to fund a court function