Andrew Giles faces years of litigation as he fights to prevent another disastrous defeat on immigration | Paul Karp