One who answers 'Amen, yehei shmei rabba' with all his strength is forgiven, even if there is a trace of idolatry in him.
Sefer HaMidos, Repentance, Part I §88