If the migrants were passing through the UK heading to another country, would you be insisting that the UK authorities act to stop them leaving the UK?
The French Government were bound by the Dublin Agreement to do exactly what you want them to do, but then the UK left the Dublin Agreement when Brexit was ‘Done’.
A stunning home goal!