It is best to obtain specific legal advice for such issues because these problems are usually fact-specific. That said, there are generally two main issues with a potential bankrupt seller. (1) Sale at undervalue, and (2) whether there are secured creditors over the property. If the Seller is already bankrupt, then there would generally be no problems because the Buyer would deal directly with the Seller's OA, who is empowered to deal with the property and would manage its liquidation properly.
The crux is generally on point (1), to ensure the sale is not at undervalue. So long as the price is a fair market value, it will not be likely that it can be un-wound. Therefore, a "firesale" price obviously has risks and the Buyer's bank will be unwilling to finance such a purchase as it would clearly be undervalue. Even if the Buyer funds the purchase at undervalue without a bank, the Buyer is still at risk as the Seller's OA can still apply to un-wind the transaction to get back the property.
The secondary issue is point (2). Only secured creditors who have a charge or mortgage over the property can claim against it. In most cases, only the Seller's bank would have a security interest over the property through the mortgage. If the Buyer's purchase price exceeds the remaining unpaid mortgage plus interest and costs, then the Seller's bank generally will not interfere (subject to the sale being at fair value) because the sale would allow them immediate recovery of their loan. To find out, you need to ask the Seller for evidence of the mortgage, or request them to waive banking secrecy so that their bank can provide details of the outstanding mortgage. This is best done through lawyers.
In reality, most Buyer's banks will not bother taking on such loans simply because your loan is not worth their time and costs to do additional due diligence and to obtain specific legal advice just to mitigate the risks. Unless your loan to the bank is a high-value one or you are a VIP customer, such margins are not worth it to the bank. There would also be added legal fees for both the Buyer and the Buyer's bank for such cases just to assess the risks.
It is difficult to recommend the next best course of action unless there are full facts. But I believe in most cases, the most realistic outcome for the Buyer is to simply lose the 1% OTP fee and treat this as a case of bad luck.