What is the allusion to "Zhaojun leaving the fortress"?

Wang Zhaojun, one of the four beauties in ancient China. A native of Xingshan County, Yichang City, Hubei Province today, Han nationality, she was a maid in the palace during the reign of Emperor Yuan of the Western Han Dynasty. Luoyan, one of the four beauties in ancient China, was also called "Mingfei" and Wang Mingjun in the Jin Dynasty to avoid Sima Zhao's taboo.

Records

"Hanshu·Yuan Emperor Ji" and "Hanshu·Xiongnu Biography" do not record that Zhaojun invited him to leave the fortress. They only record that Emperor Han Yuan "gifted" Zhaojun to Hu. Han Xie Chanyu.

"Hanshu·Yuan Emperor Ji" records: "In the first month of the spring of the first year of Jingning, the Xiongnu and Han Xie Chanyu came to the court. The edict said: "The Xiongnu Zhizhi Chanyu betrayed etiquette and justice, and since he betrayed him, Han Xie Shanyu never forgets his kindness, admires etiquette and righteousness in his hometown, restores the gift of greetings, and hopes to protect the fortress and spread it endlessly, and there will be no military revolution in the future. He changed the Yuan Dynasty to Jingning, and gave Shanyu Wang Qiang, the king of Yeting, the title of Yan family.

Allusions

Since there were many women in the harem of Emperor Yuan of Han Dynasty, they were not commonly seen, so he asked painters to draw pictures and patterns to attract them. All the maids bribed the painters, the most were 100,000 yuan, and the few were not less than 50,000 yuan. Du Zhaojun refused, so the emperor was not lucky. When the Xiongnu entered the Han Dynasty, they asked for a beautiful woman to be named the Yan family. So I put up the pattern to show the king. When he left, he was summoned. He was the first in the harem in terms of appearance, good at dealing with things, and elegant in his behavior. The emperor regretted it and the matter was settled. The emperor had great faith in foreigners, so he no longer changed people. In the poor case, all the painters abandoned the market, and their family assets were tens of millions.