The Prime Minister's Department has clarified that it had no part in the cancellation of Tun Dr Mahathir Mohamad's invitation for the Yang Di-Pertuan Agong's oath-taking ceremony.