The European Court of Justice (ECJ) has, in the past, ruled against Hungary for failing to comply with certain EU asylum and immigration-related directives.
The European Commission and other EU bodies have frameworks and mechanisms intended to enforce compliance with EU law, which, in theory, can include financial penalties or suspension of certain funds in extreme cases.

