France’s President Emmanuel Macron and Denmark’s Prime Minister Mette Frederiksen have called for more unified European Union rules on granting asylum to better handle uncontrolled immigration.

In a joint statement in Paris Monday, the two pushed for a “reinforced protection” of European external borders. Macron said he hoped the EU will be able to make progress on the issue in coming months.

Frederiksen said the present asylum system is “inhumane.”

Denmark's Prime Minister Mette Fredriksen, left, is welcomed by French President Emmanuel Macron for a lunch at the Elysee Palace in Paris, Monday, Nov. 18, 2019. Denmark's Prime Minister Mette Fredriksen is in Paris for bilateral talks. (AP PhotoMichel Euler)

Denmark's Prime Minister Mette Fredriksen, left, is welcomed by French President Emmanuel Macron for a lunch at the Elysee Palace in Paris, Monday, Nov. 18, 2019. Denmark's Prime Minister Mette Fredriksen is in Paris for bilateral talks. (AP PhotoMichel Euler)

Europe has for years seen a major influx of migrants fleeing war and poverty.

Both leaders said they also have shared views on fighting climate change and protecting the European social model.

Denmark's Prime Minister Mette Fredriksen, left, is welcomed by French President Emmanuel Macron for a lunch at the Elysee Palace in Paris, Monday, Nov. 18, 2019. Denmark's Prime Minister Mette Fredriksen is in Paris for bilateral talks. (AP PhotoMichel Euler)

Denmark's Prime Minister Mette Fredriksen, left, is welcomed by French President Emmanuel Macron for a lunch at the Elysee Palace in Paris, Monday, Nov. 18, 2019. Denmark's Prime Minister Mette Fredriksen is in Paris for bilateral talks. (AP PhotoMichel Euler)

Denmark's Prime Minister Mette Fredriksen, makes declarations prior to a lunch with French President Emmanuel Macron at the Elysee Palace in Paris, Monday, Nov. 18, 2019. Denmark's Prime Minister Mette Fredriksen is in Paris for bilateral talks. (AP PhotoMichel Euler, Pool)

Denmark's Prime Minister Mette Fredriksen, makes declarations prior to a lunch with French President Emmanuel Macron at the Elysee Palace in Paris, Monday, Nov. 18, 2019. Denmark's Prime Minister Mette Fredriksen is in Paris for bilateral talks. (AP PhotoMichel Euler, Pool)

Denmark's Prime Minister Mette Fredriksen, left, and French President Emmanuel Macron make declarations prior to a lunch at the Elysee Palace in Paris, Monday, Nov. 18, 2019. Denmark's Prime Minister Mette Fredriksen is in Paris for bilateral talks. (AP PhotoMichel Euler, Pool)

Denmark's Prime Minister Mette Fredriksen, left, and French President Emmanuel Macron make declarations prior to a lunch at the Elysee Palace in Paris, Monday, Nov. 18, 2019. Denmark's Prime Minister Mette Fredriksen is in Paris for bilateral talks. (AP PhotoMichel Euler, Pool)