Indeed. A refugee is supposed to seek asylum in the first safe country they reach, not continue to another of choice.
@frosty No they’re not. The Dublin Convention / Dublin Regulation II – which is an EU regulation – determines that the first EU member state which an asylum seeker enters is responsible for processing their asylum request. The asylum seeker may apply for asylum in the second EU member state they enter (ie they may cross Hungary and apply for asylum in Germany) but this state has the right to return them to the first EU state they entered (e.g. Germany could send them back to be processed in Hungary).
This principle is a way for the EU to determine which member state should process asylum applicants; it doesn’t apply outside the EU, nor does it imply any obligation on an asylum seeker / refugee.
It will, of course, not apply to the UK after Brexit.