Judge to schools: Balance budget