To assure conservatives, lawmakers crafted a compromise that religious liberty will be upheld in the new law. Churches could still refuse to perform gay marriages. States would also not be required to issue marriage licenses to same-sex couples if the court overturns its 2015 ruling. But they will be required to recognize marriages conducted elsewhere in the country.