The mechanism works e.g. so that a family runs a tourist hotel on an island; plenty of migrants arrive and there is a camp next to the hotel; tourists feel that the holiday environment at this hotel isn't nice and they no longer come; the family is without work and emigrates to Germany to work there. And also the people who supplied food, cleaning services etc to the hotel are out of work and emigrate.
The family is not racist, they help the needy migrants that arrive on their shores, but they lose their livelihood and have to become migrants themselves.
The situation may now be helped by souring EU-Turkey relations. There are not many tourists from Germany going to Turkey any more. Therefore the tourist industry in Greece could recover.
Based on the number of tourist areas that depend on/benefit from cheap labor -- there's not a lot of me that believes this is a real mechanism...