Bought a house, the original owner's account has not moved out. What should I do?

Lao Zhao and his wife are in their thirties this year, and their children are going to school soon. In order to let their children go to a better school, Lao Zhao and his wife bought a second-hand house near a famous school in the city, and wanted their children to move their hukou to a new house nearby. When they first bought a house, Mr. and Mrs. Lao Zhao asked if the seller's account could be moved away, and the seller said no problem at that time. When Mr. and Mrs. Lao Zhao saw that the seller was so sure, they believed it and did not delve into it. So I paid the house payment and went through the formalities of property transfer. After the seller delivered the house, when Lao Zhao and his wife went through the settlement formalities, they found that the seller's account had not moved out. They were anxious and immediately found the seller to discuss it. But the seller said that the account in the house was not his, but he bought it from someone else. So Lao Zhao and his wife had to seek legal help again, but the court could not accept it, because the transfer of household registration was handled by the public security organs. If you want to move your hukou, you have to find a place to settle down. If you can't solve it, of course you can't move. Therefore, such cases are not suitable for enforcement, and the court has not accepted them. Finally, Mr. and Mrs. Lao Zhao had to give up their house and make other plans. The real estate network is here to remind the majority of buyers that if buying a house involves account migration, it must be properly handled. There are two principles that can help you avoid this unnecessary trouble and agree on the time to move out. Before signing the contract, carefully understand the household registration status in the house. It's best to go to the household registration office of the public security bureau to investigate whether there is a household registration in the house. If the seller's household registration or other people's household registration has not moved out of the house at the time of house transaction, it is best to stipulate the time for the seller's household registration to move out in the sales contract. If the seller fails to transfer the money within the prescribed time limit, he will pay a certain penalty. 2. Set aside a part of the house payment. When signing the contract, both parties agreed to reserve a part of the house payment and pay it after moving out. This will protect the interests of the buyer.