First of all, It’s after establishing the real Islamic state that gives no excuse for anyone to be a thief, guarantees all the social justice and for any poor . Then the one who becomes a thief without any repentance could be punished according to his crime. No difference if the thief is president or anyone. But when he repents he will be forgiven. It is not just punishment; it is for deterrence and to reform.