The thesis discusses Lex Agrokor or The Law on the Extraordinary Administration in Companies of Systemic Importance for the Republic of Croatia (ZPIUTD) and Lex Mercator or Act Setting Conditions for the Appointment of Associate Members of Management Boards in Systemically Important Companies in the Republic of Slovenia (ZIČUDSP). It investigates the links between the two acts and the conditions for unlawful State aid, which are set out in Article 107 (1) of the Treaty on the Functioning of the European Union (TFEU). The first paragraph of Article 107 of TFEU, which deals with State aid, is broken down at the beginning of the thesis, where each condition affecting the measure to be regarded as State aid is discussed. The conditions are that economic advantage is given to a company, the aid is granted by a Member State or through State resources, selectivity, and that the measure distorts competition and affects trade between Member States. Arguments are given on whether the two acts should be considered a State aid or not. An analysis of a judgment of a Slovenian court that did not recognize foreign insolvency proceedings follows. Next, the Institute of substantive consolidation is examined. The court identified it as one of the reasons for refusing the recognition of foreign insolvency procedure. Deliberation on a judgment of the court of the United Kingdom of Great Britain and Northern Ireland, which recognized foreign insolvency proceedings, follows. Finally, the actions of other European countries through which they sought to rescue companies in financial troubles that they considered to be of systemic importance and a comparison of these measures with Lex Mercator and Lex Agrokor is presented.