Denmark and other nations previously attempted to limit the European Court of Human Rights’ power to prevent migrant expulsions.