This is a breathtakingly brazen misinterpretation of the scripture.
This is the passage you are referring to.
15 But if thy brother shall offend against thee, go, and rebuke him between thee and him alone. If he shall hear thee, thou shalt gain thy brother. 16 And if he will not hear thee, take with thee one or two more: that in the mouth of two or three witnesses every word may stand. 17 And if he will not hear them: tell the church. And if he will not hear the church, let him be to thee as the heathen and publican. 18 Amen I say to you, whatsoever you shall bind upon earth, shall be bound also in heaven; and whatsoever you shall loose upon earth, shall be loosed also in heaven. 19 Again I say to you, that if two of you shall consent upon earth, concerning any thing whatsoever they shall ask, it shall be done to them by my Father who is in heaven. 20 For where there are two or three gathered together in my name, there am I in the midst of them.The passage is the very passage that authorizes legislation on the matter of faith by the Church, which is described here as ultimate authority, defiance of which renders one excommunicated (v 17). It says exactly the opposite of what you claim: that the council of witnesses is the intermediate, not final instance of dispute resolution. It promises a response to prayers of the disciples done in Christ's name but only after the authority of the Church is established first.(Matthew 18)
The Catholic church makes so much soup from such a small stone, it borders on false doctrine.