This is a doctrinal question and is answered by the Rambam in his introduction to his commentary on the Mishnah. According to Rambam our traditions on the written text of the Torah and the oral laws from Sinai is without controversy.
Controversy however can arise on matters inferred from the principles for new laws.
Finally, everyone agrees that even though controversy arises in laws that are derived, nevertheless there is a Biblical commandment to listen to the Sanhedrin after they have decided on one law thru a process of debate and majority rule. I hope this succinct summary helps.