Shao Yunduan was a man who adhered to principles and morality. He would not engage in any actions that went against his principles.
Emperor Xuan had a temperament that could swing between broad-mindedness and narrow-mindedness, depending on his mood and circumstances.
When in a good mood, he could easily dismiss offenses and let them slide. However, if he happened to be in an unfavorable state, he could unleash consequences that were detrimental to the offender.
In essence, Emperor Xuan possessed the power to act as he pleased, and his moodiness was well-known.
Nevertheless, he was also highly intelligent.
One would be wise not to attempt any deceit or manipulation in his presence, as the repercussions would be unbearable for anyone involved.