Court order adds new twist to polls