UK Government given three months to overturn unlawful voting ban