Chairman of the EPP Group in the European Parliament Manfred Weber reatcs at the European Parliament in Strasbourg, France, 17 May 2017 | Patrick Seeger/EPA Manfred Weber: Commission can’t ‘simply dismiss’ Hungary Brussels should take Viktor Orbán’s request for financial support on border security seriously, says European Parliament group leader.

Manfred Weber, the leader of the center-right European People's Party group in the European Parliament, called on the European Commission to consider supporting the Hungarian government in securing its borders against the influx of refugees.

“I understand that [Prime Minister Viktor] Orbán is requesting financial support for the country's border security because it contributed to tackling the migration crisis,” Weber told local newspaper Münchner Merkur in an interview published Tuesday.

“Hungary controls the EU external borders for others. The European Commission cannot simply dismiss a request like this,” he said, adding that Brussels also supports countries such as Bulgaria and Italy in dealing with the crisis.

But "solidarity is not a one-way street," Weber also cautioned. "I think it is important that Viktor Orbán now acknowledge how crucial solidarity is between EU states."

On Wednesday the European Court of Justice (ECJ) will rule on whether EU countries must comply with refugee quotas.

Slovakia and Hungary have challenged the 2015 EU decision to relocate 160,000 refugees across the bloc, arguing that it had no legal basis.

The EU, and German Chancellor Angela Merkel in particular, criticized Eastern European governments for not having learned from their own history in their responses to the migration crisis.

In total, the Visegrad Group — which also includes Poland and the Czech Republic — has relocated 28 refugees in total out of a combined quota of 11,069.

Wednesday's ruling, Weber said, will be an opportunity to "heal an open wound in the EU migration policy."

ECJ Advocate General Yves Bot advised the court in July to dismiss complaints from countries that disagree with the EU’s migrant relocation program.