Trade-offs between electoral integrity and electoral outcomes