Over 27000 vacancies of teachers in govt schools: HC told