In 628, there was an incident where Emperor Taizong had the official Zu Xiaosun (祖孝孫) teach his ladies in waiting music, and when the ladies in waiting could not learn it well, rebuked Zu. Wen and the chancellor Wang Gui spoke against the rebuke, stating that it was not appropriate for Emperor Taizong to have had an important official become a music teacher for ladies in waiting in the first place. Emperor Taizong became angry and rebuked Wen and Wang. Wen bowed and begged for forgiveness, but Wang refused to do so, stating to Emperor Taizong that the rebuke to him and Wen was not warranted as they were reporting what was true. Emperor Taizong was surprised, but the next day indicated to the high level officials that he was rash and improper in rebuking Wen and Wang.