The JD(U) has opposed RSS demand for a law on building the Ram Temple. Party spokesperson KC Tyagi said top court must decide on the matter. Alternatively, Muslims and Hindus may settle it through talks, he added.