We've come to know that Anmol and Ranvir challenged each other, both putting something at stake if they lost. Anmol said that Ranvir can take any property from him if he wins. While Ranvir said that Anmol can take anything he wants from him if he wins. So my speculation is that Anmol must have won the challenge, and requested Ranvir's position and identity. Ranvir would have then had no choice but to keep to his word, therefore allowing Anmol to take his place in life.
This would still be really stupid, but it's possible. It's better than Ranvir happily handing over everything to Anmol, simply because he considered him a 'better' person than himself. Who in their right mind would put forward such a challenge anyway?! I have no idea 😕. It's so heedless and irresponsible, and not like the Ranvir we knew. It seems the CT's are trying to show that Sadhna's death took such a toll on Ranvir that he must have lost any sensibility he had left!!! 😡