From left to right, European Union High Representative for Foreign Affairs and Security Policy Federica Mogherini, Germany's Foreign Minister Heiko Maas, Britain's Foreign Secretary Jeremy Hunt, US Deputy Secretary of State John J. Sullivan, French Foreign Minister Jean-Yves Le Drian, Canada's Foreign Minister Chrystia Freeland, Italy's Foreign Minister Enzo Moavero Milanesi and Japanese Foreign Minister Taro Kono pose for a group photo during a G7 meeting at ministerial level in Dinard, Brittany, Friday, April 5, 2019. The G7 meeting is focus on cybersecurity, the trafficking of drugs, arms and migrants in Africa's troubled Sahel region, and fighting gender inequality. (AP Photo/David Vincent)

PARIS (AP) — Interior ministers from the Group of Seven advanced economies pledged Friday to jointly tackle world's top security challenges, including fighting migrant trafficking.

At the end of a two-day meeting in Paris, the G-7 ministers agreed to grant asylum to certain refugees and to return other migrants who are not entitled to stay back to their home countries.

It's a theme that could dovetail well with the group's foreign minister meeting, hosted through Saturday by French Foreign Minister Jean-Yves Le Drian in the Brittany seaside town of Dinard.

The G-7 — which includes the U.S., France, Canada, Japan, Germany, Italy and the U.K. — is hoping to produce another joint statement by Saturday on the fight against trafficking drugs, arms and migrants in Africa's troubled Sahel region.

That meeting also aims to forge commitments on fighting cybercrime and stopping sexual violence against women in conflict zones, especially in Africa.

"We will talk about big regional crises that weaken societies and harm the most vulnerable," Le Drian said Friday as he opened the foreign ministers' meeting.

Doubts have been raised this year about the relevance of the G-7 meetings, given that the ranking U.S. officials, Homeland Security Secretary Kirstjen Nielsen and Secretary of State Mike Pompeo, didn't attend.

As he wrapped up the Paris meeting, French Interior Minister Christophe Castaner acknowledged some differences between the G-7 countries but cited success in "laying down concrete guidelines on key security issues."

The ministers also discussed divergent views on how to handle foreign fighters who joined the Islamic State militants in Syria and Iraq.

The U.S. wants countries to take back their citizens but Western countries, including France, have largely refused to do so and want them to go on trial in the places where they committed their crimes. Germany, however, raised the idea of creating a specific international criminal court to try them.

All G-7 countries stressed a commitment to "ensure that all foreign terrorist fighters who are or were in conflict zones are held accountable for their actions."

On Thursday, the G-7 interior ministers met with representatives of Facebook, Twitter, Google and Microsoft and asked them to establish protocols to better combat terrorism, for instance by removing extremist content in emergency situations.

U.S. Homeland Security official Claire Grady said there is "potentially" more room to regulate giant internet companies but stressed that the U.S. wants any changes to preserve the spirit of innovation and keep open opportunity for small companies.

The ministers' meetings in Paris and Dinard aim to lay the groundwork for a G-7 summit that France will host in Aug. 25-27 in the southwestern city of Biarritz.

US Deputy Secretary of State John J. Sullivan, left, and French Foreign Minister Jean-Yves Le Drian arrive for a group photo during a G7 meeting at ministerial level in Dinard, Brittany, Friday, April 5, 2019. The G7 meeting is focus on cybersecurity, the trafficking of drugs, arms and migrants in Africa's troubled Sahel region, and fighting gender inequality. (AP Photo/David Vincent)
French Foreign Minister Jean-Yves Le Drian, left, welcomes Britain's Foreign Secretary Jeremy Hunt for a G7 meeting at ministerial level in Dinard, Brittany, Friday, April 5, 2019. The G7 meeting is focus on cybersecurity, the trafficking of drugs, arms and migrants in Africa's troubled Sahel region, and fighting gender inequality. (Stephane Mahe/Pool Photo via AP)
French Foreign Minister Jean-Yves Le Drian, left, welcomes US Deputy Secretary of State John J. Sullivan for a G7 meeting at ministerial level in Dinard, Brittany, Friday, April 5, 2019. The G7 meeting is focus on cybersecurity, the trafficking of drugs, arms and migrants in Africa's troubled Sahel region, and fighting gender inequality. (Stephane Mahe/Pool Photo via AP)
French Foreign Minister Jean-Yves Le Drian, left, welcomes Japanese Foreign Minister Taro Kono for a G7 meeting at ministerial level in Dinard, Brittany, Friday, April 5, 2019. The G7 meeting is focus on cybersecurity, the trafficking of drugs, arms and migrants in Africa's troubled Sahel region, and fighting gender inequality. (Stephane Mahe/Pool Photo via AP)
French Foreign Minister Jean-Yves Le Drian awaits US Deputy Secretary of State John J. Sullivan for a G7 meeting at ministerial level in Dinard, Brittany, Friday, April 5, 2019. The G7 meeting is focus on cybersecurity, the trafficking of drugs, arms and migrants in Africa's troubled Sahel region, and fighting gender inequality. (Stephane Mahe/Pool Photo via AP)
French Foreign Minister Jean-Yves Le Drian, left, welcomes Britain's Foreign Secretary Jeremy Hunt for a G7 meeting at ministerial level in Dinard, Brittany, Friday, April 5, 2019. The G7 meeting is focus on cybersecurity, the trafficking of drugs, arms and migrants in Africa's troubled Sahel region, and fighting gender inequality. (Stephane Mahe/Pool Photo via AP)
French Foreign Minister Jean-Yves Le Drian, left, welcomes US Deputy Secretary of State John J. Sullivan for a G7 meeting at ministerial level in Dinard, Brittany, Friday, April 5, 2019. The G7 meeting is focus on cybersecurity, the trafficking of drugs, arms and migrants in Africa's troubled Sahel region, and fighting gender inequality. (Stephane Mahe/Pool Photo via AP)
French Foreign Minister Jean-Yves Le Drian, left, welcomes Italy's Foreign Minister Enzo Moavero Milanesi for a G7 meeting at ministerial level in Dinard, Brittany, Friday, April 5, 2019. The G7 meeting is focus on cybersecurity, the trafficking of drugs, arms and migrants in Africa's troubled Sahel region, and fighting gender inequality. (Stephane Mahe/Pool Photo via AP)
French Foreign Minister Jean-Yves Le Drian, left, welcomes Germany's Foreign Minister Heiko Maas for a G7 meeting at ministerial level in Dinard, Brittany, Friday, April 5, 2019. The G7 meeting is focus on cybersecurity, the trafficking of drugs, arms and migrants in Africa's troubled Sahel region, and fighting gender inequality. (Stephane Mahe/Pool Photo via AP)
From left to right, Germany's Foreign Minister Heiko Maas, Canada's Foreign Minister Chrystia Freeland, Britain's Foreign Secretary Jeremy Hunt, US Deputy Secretary of State John J. Sullivan and French Foreign Minister Jean-Yves Le Drian arrive for a group photo during a G7 meeting at ministerial level in Dinard, Brittany, Friday, April 5, 2019. The G7 meeting is focus on cybersecurity, the trafficking of drugs, arms and migrants in Africa's troubled Sahel region, and fighting gender inequality. (AP Photo/David Vincent)
From left to right, European Union High Representative for Foreign Affairs and Security Policy Federica Mogherini, Germany's Foreign Minister Heiko Maas, Britain's Foreign Secretary Jeremy Hunt, US Deputy Secretary of State John J. Sullivan, French Foreign Minister Jean-Yves Le Drian, Canada's Foreign Minister Chrystia Freeland, Italy's Foreign Minister Enzo Moavero Milanesi and Japanese Foreign Minister Taro Kono pose for a group photo during a G7 meeting at ministerial level in Dinard, Brittany, Friday, April 5, 2019. The G7 meeting is focus on cybersecurity, the trafficking of drugs, arms and migrants in Africa's troubled Sahel region, and fighting gender inequality. (AP Photo/David Vincent)
European Union High Representative for Foreign Affairs and Security Policy Federica Mogherini, left, is welcomed by US Deputy Secretary of State John J. Sullivan, center, as they arrive for a group photo while French Foreign Minister Jean-Yves Le Drian stands next during a G7 meeting at ministerial level in Dinard, Brittany, Friday, April 5, 2019. The G7 meeting is focus on cybersecurity, the trafficking of drugs, arms and migrants in Africa's troubled Sahel region, and fighting gender inequality. (AP Photo/David Vincent)
French Foreign Minister Jean-Yves Le Drian, left, welcomes Canada's Foreign Minister Chrystia Freeland for a G7 meeting at ministerial level in Dinard, Brittany, Friday, April 5, 2019. The G7 meeting is focus on cybersecurity, the trafficking of drugs, arms and migrants in Africa's troubled Sahel region, and fighting gender inequality. (Stephane Mahe/Pool Photo via AP)
French Foreign Minister Jean-Yves Le Drian, left, welcomes European Union High Representative for Foreign Affairs and Security Policy Federica Mogherini for a G7 meeting at ministerial level in Dinard, Brittany, Friday, April 5, 2019. The G7 meeting is focus on cybersecurity, the trafficking of drugs, arms and migrants in Africa's troubled Sahel region, and fighting gender inequality. (Stephane Mahe/Pool Photo via AP)
U.S. deputy secretary of state, John Sullivan answers the Associated Press in Dinard, Brittany, Friday, April 5, 2019. Foreign ministers are about to kick off their two-day meeting in the Atlantic resort of Dinard, with a focus on cybersecurity, the trafficking of drugs, arms and migrants in Africa's troubled Sahel region, and fighting gender inequality. (AP Photo/David Vincent)
U.S. deputy secretary of state, John Sullivan answers the Associated Press in Dinard, Brittany, Friday, April 5, 2019. Foreign ministers are about to kick off their two-day meeting in the Atlantic resort of Dinard, with a focus on cybersecurity, the trafficking of drugs, arms and migrants in Africa's troubled Sahel region, and fighting gender inequality. (AP Photo/David Vincent)
U.S. deputy secretary of state, John Sullivan answers the Associated Press in Dinard, Brittany, Friday, April 5, 2019. oreign ministers are about to kick off their two-day meeting in the Atlantic resort of Dinard, with a focus on cybersecurity, the trafficking of drugs, arms and migrants in Africa's troubled Sahel region, and fighting gender inequality. (AP Photo/David Vincent)
International human rights lawyer Amal Clooney, left, Britain's Foreign Secretary Jeremy Hunt and Canada's Minister of Foreign Affairs Chrystia Freeland, right, attend a meeting in Dinard, Brittany, Friday, April 5, 2019. Hunt has launched a media freedoms campaign alongside international human rights lawyer Amal Clooney from the sidelines of the Group of Seven foreign ministers' meeting in the French Atlantic resort of Dinard. (AP Photo/David Vincent)
Italian Interior Minister and Vice Premier Matteo Salvini answers reporters during a media conference at the G7 Interior Ministers meeting in Paris, Friday, April 5, 2019. The world's security challenges are on the top of the agenda of foreign and interior ministers of the Group of Seven countries who are gathering in France. (AP Photo/Christophe Ena)
From left, Jurgen Stock, Secretary General of Interpol, Italian Interior Minister and Vice Premier Matteo Salvini, Canadian Public Safety Minister Ralph Goodale, French Interior Minister Christophe Castaner, Deputy Commissioner General of Japan Mitsuhiro Matsumoto and US Deputy Secretary for Homeland Security Claire M. Grady attend a main joint press conference at the G7 Interior Ministers meeting in Paris Friday, April 5, 2019. The world's security challenges are on the top of the agenda of foreign and interior ministers of the Group of Seven countries who are gathering in France. (AP Photo/Christophe Ena)
Italian Interior Minister and Vice Premier Matteo Salvini leaves after a media conference at the G7 Interior Ministers meeting in Paris, Friday, April 5, 2019. The world's security challenges are on the top of the agenda of foreign and interior ministers of the Group of Seven countries who are gathering in France. (AP Photo/Christophe Ena)
Italian Interior Minister and Vice Premier Matteo Salvini answers reporters during a media conference at the G7 Interior Ministers meeting in Paris, Friday, April 5, 2019. The world's security challenges are on the top of the agenda of foreign and interior ministers of the Group of Seven countries who are gathering in France. (AP Photo/Christophe Ena)
Italian Interior Minister and Vice Premier Matteo Salvini answers reporters during a media conference at the G7 Interior Ministers meeting in Paris, Friday, April 5, 2019. The world's security challenges are on the top of the agenda of foreign and interior ministers of the Group of Seven countries who are gathering in France. (AP Photo/Christophe Ena)
Italian Interior Minister and Vice Premier Matteo Salvini answers reporters during a media conference at the G7 Interior Ministers meeting in Paris, Friday, April 5, 2019. The world's security challenges are on the top of the agenda of foreign and interior ministers of the Group of Seven countries who are gathering in France. (AP Photo/Christophe Ena)