The Hungarian government placed advertisements in the Lebanese press on Monday warning of "the strongest possible action" against anyone attempting to cross its borders illegally.
But a full-page notice in other local newspapers featured a letter by the Doctors Without Borders group urging the European Union to open its borders to refugees.
Lebanon hosts more than 1.1 million of the four million Syrians who have fled their homeland since 2011, some of whom are now heading to Europe as the continent faces its biggest migration crisis since World War II.
Hungary's advertisements in both Arabic and English came two weeks after Denmark placed similar adverts in Lebanese newspapers in an attempt to stem an influx of migrants and asylum-seekers.
"Hungarians are hospitable, but the strongest possible action is taken against those who attempt to enter Hungary illegally," warned the adverts in Al-Jumhuriya, An-Nahar and French daily L'Orient le Jour.
"Do not listen to the people smugglers. Hungary will not allow illegal immigrants to cross its territory."
But medical organisation MSF published its own notices in three local papers, appealing to the EU to open its borders.
It said Europe's "policies of deterrence... have turned a foreseeable and manageable influx of people fleeing for survival into a policy-made human tragedy".
MSF's Humanitarian Coordinator for Displacement Aurelie Pontie told AFP that "the only way forward is through providing safe and legal passage, and not through publishing ads to push back refugees".
"While European governments are using ad space in the Arab region to send messages of deterrence to refugees and migrants, MSF is using those same channels this week to publicly remind European leaders of their responsibilities."
MSF's letter appeared in Al-Hayat, Al-Quds, and The Daily Star, and included a large photo of a bright orange life jacket, a symbol of the dangerous journey many migrants and refugees are making across the Mediterranean.
Last week, Hungary introduced tough new laws giving courts the power to jail people for up to three years for crossing its borders "illegally", rising to five years if they damage its frontier fences.
Hungary has built a razor-wire fence along the entire length of its border with Serbia, and last week hastily erected a barrier along the 41 kilometres (25 miles) of its border with Croatia which is not formed by the hard-to-cross Drava River.
The rightwing government in Budapest has come under heavy criticism for its treatment of migrants, particularly over the police's handling of clashes at the flashpoint Serbian border crossing of Roszke.
Prime Minister Viktor Orban has said he is only applying EU regulations and blames Greece for waving the migrants through and Germany for relaxing asylum rules for Syrians.
In its own adverts in Lebanese papers earlier this month, Denmark warned that it had tightened its own regulations concerning refugees.
GMT 17:16 2017 Tuesday ,19 December
Bahrain Press headlinesGMT 09:18 2017 Monday ,18 December
Bahrain press headlinesGMT 07:27 2017 Sunday ,17 December
Bahrain press headlinesGMT 07:05 2017 Saturday ,16 December
Bahrain press reviewGMT 08:05 2017 Friday ,15 December
Bahrain press headlinesGMT 16:40 2017 Thursday ,14 December
Bahrain Press headlinesGMT 16:36 2017 Tuesday ,12 December
Bahrain Press headlinesGMT 06:49 2017 Monday ,11 December
Bahrain Press headlinesMaintained and developed by Arabs Today Group SAL.
All rights reserved to Arab Today Media Group 2023 ©
Maintained and developed by Arabs Today Group SAL.
All rights reserved to Arab Today Media Group 2023 ©