Which distinction is made concerning a publicly sinful imam?

Congregational Prayer: Its Status, Priority in Leading, and Conduct of the Imam