DA goes to court over schools’ shutdown