NSW Court of Appeal casts a shadow over voting rights