See Poole on "Deuteronomy 17:9,12", and observe that the controversies both here and there referred to, and to be determined by the priests and judges, are only between man and man, and not doctrines of faith and manners, as the papists for their own advantage pretend.
Related Commentaries of Deuteronomy 19:17
Deuteronomy 19:17
17 Then both the men, between whom the controversy is, shall stand before the LORD, before the priests and the judges, which shall be in those days;