EN
Accession to the European Union means that each Member State must comply, under the community treaties that have been adopted, with several principles and numerous operating standards, among which one can distinguish the maintenance of public finance discipline at a sufficiently low level. An instrument supporting the preservation of an adequate balance of public finance is the so-called excessive deficit procedure. Poland was subjected to the excessive deficit procedure in two periods: 2004–2008 and 2009–2015. The article employs a unique research methodology to establish long-term trends in law creation, based on the theory of supply and demand. In particular, this text focuses on the question of whether a certain law was intended to increase or decrease the costs of performing state functions. It demonstrates through the use of the tools of mathematical modeling that the excessive deficit procedure applied to Poland not only had an impact on state finances, but also had a long-term effect on the legislature, which consistently created regulations aimed at reducing public expenditure. The paper underlines the significance of sustainable public finances for macroeconomic stability, using Poland as a case study. Despite the beneficial impact of the excessive deficit procedure in reducing Poland’s public debt, the research uncovers a recurring pattern of increasing public spending after improving financial stability.