The Rajasthan HC said that the registering of live-in relationships in necessary till an appropriate legislation is enacted by the government.