Scholars have different understandings of these hadiths.
Those who support the revolution state that these hadiths are referring to those who call people to themselves—meaning that consider themselves having independent authority. But if Shias rise calling people to follow the Ahlulbayt (a), then it’s ok.
Those who do not support the revolution state that such hadiths prohibit Shias from establishing as state during the ghaybah of Imam Mahdi (a).