ANP terms SC verdict a victory for democracy