"Under the terms of a new law, helping migrants legalize their status in Hungary by distributing information about the asylum process or providing them with financial assistance could result in a 12-month jail term."
Also you (accidentally?) Glossed over the part that it's targeting illegal immigrants.
If / when that happens, OP would then be correct in his claim. Until then, he is incorrect.
Be careful of the precedent you are setting, normalizing fact-free judgement in society might someday turn on you.
It's specifically targeting potential asylum seekers that are “illegal immigrants” only to the extent that they are unaware of the proper asylum process by criminalizing correcting that deficiency.