You can file recovery suit on the basis of court's order.
If the refund is mentioned in judgement then file suit for execution of decree.
As the land is sold fraudulently there's no use of appeal. If you still go for appeal you have to deposit money again.
You can file criminal suit against x and y.