Again, this statement does not reflect what you described in the OP. In this instance, I would grab that Pastor by the scruff of his/her neck, RIGHT IN FRONT OF THE CONGREGATION, and SHOW him/her THE DOOR!
Again, though, that's just me, so............
Lest you think I'm just blowing smoke.......I'm not......I assure you, I have no problem confronting a Pastor, Elder, whoever, when they are preaching/teaching the Congregation something that is in direct conflict with the Gospel of Christ.