Yes, Yeshua and all his disciples railed against the !!TRADITIONS!! of the Pharisees. That does not discount the Master's COMMANDMENT to DO and TEACH the Law.
The Catholic Church completely rejects the need to follow those laws that were abrogated in the NT.
... Which is the primary evidence that the Roman church is not infallible, and that it does not teach the truth.
Jer 16:19 O LORD, my strength, and my fortress, and my refuge in the day of affliction, the Gentiles shall come unto thee from the ends of the earth, and shall say, Surely our fathers have inherited lies, vanity, and things wherein there is no profit.
Read 2 Thessalonians 2:14 and 3:6.