In May 2020, the chapter 2aa – Warranties of Independence and Impartiality of the Administrator was added to the Act on Rail Transport. Then, in July 2020, a project to amend the Code of Commercial Companies (UD 113) was published on the website of the Government Legislation Centre, which presumed to introduce a legal regulation in the form of the so-called holding law to the Polish law of commercial companies. This project was processed in the Parliament of the Republic of Poland – No. 1515. Therefore, the goal of the paper is to present the influence of the amendments to the Code of Commercial Companies on the performance of regulatory tasks by the President of the Office of Rail Transport in the context of the regulations of chapter 2aa of the Act on Rail Transport. The thesis of the paper is the statement: the provisions of the Railway Transport Act constitute lex specialis in relation to the provisions of the Commercial Companies Code.