Court dismisses NDP case against EC