Migration agreements between "transit countries," such as Turkey or Libya, and Europe have in recent years become the norm as emergency measures to try to stop irregular migration.