I think that Shufen’s mother came to know that he had fallen in love with Li Xue and so when she helped Lin Xinyi escape , replaced her with Li Xue knowing that it would save her from being set up and if she did fall pregnant it would eventually be alright because they liked/loved each other