‘Supreme Court erred on election petition’