Presidents and PMs are officially invited. Inviting Sonia Gandhi is a great gesture by China of showing respect towards some good Indian Politicians. Now in case of Modi and Advani ofcourse, they are a shame on the face of India, so foreign countries would not try to, u know, put their hands in dung.