A number of countries that do not have same-sex marriage do recognize foreign same-sex marriages for immigration (Israel is one example).