Bit of a pickle, but there may be possibilities of a refinancing deal although the ongoing legal action may make that problematic. Updating the chanote / exchange of funds is a simple process at the Land Office so, provided the Government Organisation gets paid in full, including all costs, and the legal action is confirmed as discontinued, it may be possible.
My family has used this finance company for a recent refinancing:
https://www.thaicreditbank.com/th
We found them reasonable to deal with but they did need full financial info/pay details, which seemingly may not be an issue for your wife. Obviously the current legal action may be a show stopper but worth a try, i would say.