I don't have the text written by the 10th Panchen Lama but I found the following account in the Yellow Book that reveals a chequered history of Dorje Shugden and the previous Panchen Lamas. In it, the previous Panchen Lama was believed to have also composed a similar praise of Dorje Shugden as a peace offering. I can't vouch for the accuracy of this translation but I do feel it is a divine play of sorts between the Panchen Lama and Dorje Shugden to highlight the special abilities of Dorje Shugden.
-----------------------
All knowing Losang Palden Choekyi Dakpa was the lord of the Doctrine and from a very young age proved himself as an eminent scholar. He thus had great potential to serve the Dharma and sentient beings. But he did not make the flawless and well established teachings of the Dharma Raja Lama Tsongkhapa as his principal practice. But instead he studied many treasure texts of Nyingma order and did meditation on those teachings. These were mentioned in his autobiography. Dorjee Shugden repeatedly asked him not
to do that. He got annoyed with the deity and performed a wrathful and despicable ritual to burn it. Along with other ingredients he put a thanka of deity in the fire. But the fire could not consume the thanka. Then he took out the thanka and put it under the steps of his door in Tashi Lhunpo. Because of those actions, the Panchen Rinpoche became ill and eventually passed away in the water-sheep year of the 15th rapjung when he was only thirty years of age. In this way the Panchen Rinpoche was unsuccessful in his Dharma propagation deeds.
His successor, Panchen losang Thubten Choekyi Nyima Gelek Namgyal too faced a great deal of problems (as a consequence). Because of misunderstanding between his monastery and the Tibetan Government, he
had to escape to Mongolia. Later he wished to come back to U- Tsang, but there were unsurmountable hurdles and he could not succeed. At the age of fifty five, in the year fire-ox, he passed away in Kyigudo. A year before he passed away, Je Phaphongkha Rinpoche Dechen Nyingpo came to pay his respects. During that meeting, the Panchen Rinpoche told Phaphongkha Rinpoche that since Phaphongkha Rinpoche was the incarnation of Lodo Balpa, the Tashi Lhunpo monastery naturally had respect and faith in him. The Panchen Rinpoche asked him to give teachings and also asked him to take out the thanka of Shugden deity which was buried by the previous Panchen Rinpoche. In accordance with the instructions of the Panchen Rinpoche, Je phaphongkha went to Tashi Lhunpo monastery in the year of iron-dragon of the 16th rapjung. There he gave many religious sermonsincluding the lamrim teachings. He also took out the thanka of the
Shugden deity and put it in a shrine in the Tashi Lhunpo and worshipped it. Phaphongkha Rinpoche composed a text which was a kind of agreement and understanding between the monastery and the deity.
The next Panchen Rinpoche, Panchen Losang Thinley Lhundup Choekyi Gyaltsen was born in Amdo. He displayed various remarkable deeds which were clear signals of his greatness. When he came to U-Tsang, certain impediments delayed his enthronement. Soon after his arrival to Tashi Lhunpo, he composed a prayer to Dorjee Shugden which helped creating harmony between the deity and the Panchen Rinpoche. However, later things changed. There was a statue of Shugden in a shrine in the palace. When it was seen by the spiritual tutor of the Panchen Rinpoche, Yongzin Kachen Ang Nyima, he told one of the attendants to take out the devil's statue from there. When it was referred to the Panchen Rinpoche, he told the attendant to keep it where the teacher could not see. The tutor disliked Shugden and often told the Panchen Rinpoche that they practice pure kadampa tradition and that if he sought many deities, it could ruin him. The tutor banned the usual practice of propitiating Gyalchen Shugden at Tashi Lhunpo and the oracle karma, too, was banned from invoking the deity. The special invocation during the new year was also banned. Since
then many bad omen occurred one after the other. A battle broke between the Shikatse soldiers and the Tashi Lhunpo subjects. The Tutor Ang Nyima himself fell from his horse two times. Several ominous incidents happened during the opening ceremony of the new palace, Dechen Phodrang. Because of these, they had to restore the practice of worshipping Gyalchen Shugden. On the invitation of China, the Panchen Rinpoche left for China in the wood-horse year. Soon after the Panchen Rinpoche had departed
from Tsang, unprecedented flood rushed from Gyaltse. The flooding totally washed away Kunkyobling, the main residential complex for many Panchen Lamas. Yongzin Ang Nyima could not return home and finally
succumbed to an insect bite. Because the Panchen Rinpoche did not practice a pure philosophical tenet, unending disasters followed one after the other.