Yes, a judge can. The clear intention of the divorce decree was that your wife would be removed from the loan--that was the purpose of refinancing. She has a right under that decree to be removed. If you cannot refinance and remove her that way, you can be forced to sell the home if that is the only way to remove her.