Guardian of the state in Mecca

If he sees that he is the wali of the state in Makkah, then the caliph imitates him some, and if he sees that he is heading towards the Kaaba, he reconciles his religion