Supreme Court hears case relating to local government elections