hammond had been deeply anxious over the preparations for this mission not least because its outcome was by no means certain : a substantial conservative faction of the imperial court passionately opposed anything they called foreign adventures , and had made an attempt to unseat mianning as the imperial heir on the occasion of their last visit .