News Court in 2017 ruled that a requirement for public servants to quit six months to elections unlawful