Pursuing 'election integrity' by sending armed government agents to question voters is "Orwellian and illegal," say court papers.