EC dragged to court over district assembly elections