1 Introduction

Spanish firms are small in international terms and they operate in markets with low entry and exit rates. Núñez (2004) found that the average size of firms in Spain was below that of firms in several other European countries and in the USA. López-García and Sánchez (2010) showed that Spanish companies were on average half as large as the companies in other European economies. Núñez (2004) showed that the turnover rate (sum of entry and exit rates) in Spain was 16 % lower than that in other countries analyzed except Germany. Analyzing more recent data, López-García and Puente (2007) reached the same conclusion in the context of OECD countries. García-Posada and Mora-Sanguinetti (2014) also find that both entry and exit rates in Spain are lower than the European average.

The analysis of those facts is relevant as numerous studies have shown that there are positive links among firm size, business demography, innovation and productivity growth (see, inter alia, Brandt 2004; Pilat 2004; Scarpetta et al. 2002; Foster et al. 1998; López-García and Montero 2012; Martin-Marcos and Jaumandreu 2004; Huergo and Jaumandreu 2004; Fariñas and Ruano 2004). Along with this, Spain has been characterized by low productivity growth and low innovation over the most recent years (Dolado et al. 2013; Bentolila et al. 2011; Mora-Sanguinetti and Fuentes 2012a, b).

The literature has suggested several determinants of firm size and growth, such as market size, economic development, access to credit, the stock of physical and human capital and the relevant industry. Business demography may also be affected by labor market regulations, entry regulations and personal bankruptcy laws. In addition to the above factors, an effective judicial system (or, more generally, the quality of the economy’s “enforcement institutions”) seems to have an effect on average firm size. Following Kumar et al. (2001), countries with efficient judicial systems seem to have larger firms. Laeven and Woodruff (2007) and Dougherty (2014) found that firms located in Mexican states with weak legal environments are smaller than those located in states with stronger ones. Giacomelli and Menon (2013) examined evidence for Italy and showed that the average size of manufacturing firms is lower in municipalities where the period of time required to obtain a judgment is longer. Fabbri (2010) found that law enforcement in Spain has a significant impact on business financing and on firm size based on her sample of manufacturing companies.

But all these studies focus on the impact of judicial enforcement on average firm size without differentiating between the two possible channels: the effect on the growth of incumbent firms (intensive margin) and the effect on entry and exit rates (extensive margin).Footnote 1 However, identifying the specific channel is crucial in order to draw the correct policy implications, as entrants are generally much smaller than incumbents, but both high entry rates and high firm growth are associated with higher productivity growth and innovation. To put it differently, higher average firm size is not always desirable, as it could reflect sclerotic markets characterized by low entry and exit rates rather than by high-growth firms. In this paper, we find that judicial efficacy fosters the growth of incumbents and that it also promotes entry, while it has no impact on firms’ exits. Hence, increasing judicial efficacy would be welfare-improving in Spain, regardless on its impact on average firm size.

The paper also shows, for the first time, that the specific type of judicial procedure that companies must face in case of a conflict is the relevant matter and not so much the overall functioning of the judicial system. Consequently, in this paper, we differentiate between the specific impact of the various civil procedures available both at the declaratory stage and at the execution stage. The study of different procedures allows us to determine what stage is more important for business decisions: whether the time at which the existence of a debt is declared and acknowledged by a judge (declaratory stage) or the time at which the judge enforces its payment (executory stage). Specifically, we find that judicial efficacy at the declaratory stage has a positive impact on firm size, firm growth and entry rates, while judicial efficacy at the execution stage has no impact whatsoever. Various reasons may be influencing this fact: penalties for delayed payment, risk aversion (even if the probability of punishment is small, individuals may suffer from a disutility higher than the expected punishment), internalization of social values (the “right” thing to do is to abide by the law, once there is a ruling against the company) and reputation (there is an immediate damage to the reputation of the company when it loses a trial, whether or not it decides to comply with the obligations imposed in the judgment). In any case, our findings warn that the use of “aggregate” measures of civil efficacy, as done in the previous literature, may be incomplete.

Finally, this is first time that the relationship among firm size, firm growth, business demography and judicial efficacy in Spain is analyzed following the entry into force of the new civil procedural rules of 2000, which completely changed the civil justice system in Spain.Footnote 2 We also use data at the provincial level, whereas previous studies on Spain (Fabbri 2010) used data at the aggregate regional level (Comunidades Autónomas) and linked them with data on manufacturing firms, while our data cover all relevant industries.

The importance of studying the effectiveness of the judiciary and its impact on firm size and business demography in Spain is justified by the fact that the Spanish judicial system demonstrates low efficiency compared with that of other countries. Spain holds the position 26 out of a total of 35 legal systems in its ability to resolve disputes before the first instance courts according to the database constructed recently by the OECD (Palumbo et al. 2013). Even less favorable results can be found on the Doing Business (DB) Project of the World Bank in its “enforcing contracts” indicator, published since 2004. Spain ranked 64th among 185 countries covered in the reports of 2012 and 2013. Specifically, Spain was in a worse position than other economies with similar levels of development such as the other big European economies (with the exception of Italy). The conclusions of this paper are thus relevant for this general problem. Thanks to the distinction of the different stages of judicial procedures, this research provides a guide on where to intervene peremptorily in order to optimize the resources invested in the Spanish judicial system: in order to promote entry and firm growth, preference should be given to speeding up declaratory judgments (at the expense of other potential areas).Footnote 3

The rest of the paper is organized as follows. Section 2 presents a discussion of the theoretical channels linking judicial efficacy with firm size. Section 3 explains the construction of various measures of judicial efficacy and firm size, as well as the control variables and some sample characteristics. Section 4 presents our estimation strategy, and Section 5 discusses the empirical results. Finally, Section 6 provides some conclusions.

2 Theoretical background: how the functioning of the judicial system affects firm size, firm growth and business demography

The literature suggests several channels according to which we should observe an impact of the judicial system on firm size, firm growth and business demography.

First, judicial efficacy affects firm growth through the investment decisions faced by firms and entrepreneurs. As poor contract enforcement increases projects’ risks and raises their expected costs, this can lead to less investment and reduce growth opportunities. This is corroborated by the empirical evidence of Laeven and Woodruff (2007), who find a positive relationship between judicial efficacy and average firm size. This relationship is stronger for proprietorships than for corporations, as the owners of the latter are more protected against contract enforcement risks thanks to limited liability. Laeven and Woodruff (2007) also argue that an improvement in the functioning of the judicial system will increase average firm size by making the least productive firms exit the market and the most productive ones grow. An improved judicial system implies higher production efficiency, which will increase the demand for production factors (capital and labor) and will in turn raise wages and rental rates. This will induce low-ability entrepreneurs to leave self-employment for salaried work, while only the most talented entrepreneurs will continue to run their own businesses. Therefore, there will be fewer companies and those companies will employ more workers. As a result, average firm size will increase.

Second, since poor contract enforcement increases transaction costs, firms’ optimal response may be vertical integration, implying a negative relationship between judicial efficacy and firm size.

Third, in the absence of well-functioning courts, parties need to rely on relational contracting, which may lead to high switching costs and barriers to entry: trust in existing suppliers may make firms reluctant to purchase from new suppliers (Johnson et al. 2002). Hence, better contract enforcement may increase entry rates. The development of the judicial system also allows trade of more complex goods, as a third party can verify the terms and conditions of the contract, encouraging firms to undertake specific investments and probably grow more.

Fourth, Chemin (2009) finds several reasons why an improvement in court efficacy dramatically increased entry rates in his study of Pakistan’s judicial reform. The reform improved entrepreneurs’ confidence that their workforce would not be prevented from working due to law and order situations. As unemployed individuals were more confident in their ability to obtain credit, they applied for loans and they also applied or sought land, buildings or machinery to establish their businesses.

Finally, both firm growth and business demography can be indirectly influenced by the quality of the judicial system through the credit channel. Inefficient systems are associated with difficulties in contract enforcement and hence with weaker creditor protection. As a result, weaker investor protection would decrease the availability of credit, hampering firm growth. This conjecture is corroborated by Jappelli et al. (2005), who find that credit is more widely available in the Italian provinces where there is higher judicial efficiency. Fabbri (2010) finds that the cost of financing is higher in regions where court proceedings take longer and this could have an effect on firm size as well. Judicial system improvements seem also to be related to higher access to finance and lower costs of credit in India (Visaria 2009; Chemin 2012). Regarding business demography, greater judicial ineffectiveness, by reducing access to external finance, also reduces entry of new enterprises, which are usually smaller than incumbent firms (Giacomelli and Menon 2013). As a result, the overall impact of reduced funding on average firm size may be ambiguous when measured empirically (Kumar et al. 2001).

In summary, the above channelsFootnote 4 imply an ambiguous impact of judicial efficacy on firm size and growth (“intensive margin”) and a positive one on entry and exit rates (“extensive margin”). Hence, the sign of the former and the magnitude of the latter are empirical matters.

3 Data

3.1 Measuring the efficacy of specific judicial procedures in Spain

This paper constructs a set of efficacy measures by judicial procedure using direct information provided by the courts, specifically by the Spanish General Council of the Judiciary (Consejo General del Poder Judicial, hereinafter CGPJ). The CGPJ has published a database reporting the number of cases filed, resolved and still pending in the Spanish judicial system by region, court, year, subject and procedure. Therefore, this information allows us to differentiate by the specific type of civil procedure used at the declaratory stage [ordinary judgment, verbal judgment, payment (monitory) procedure and bills of exchange and cheques procedure] or at the execution stage. To the best of our knowledge, this is the first paper that differentiates among different civil procedures in contrast with previous literature, which used data on “aggregate” civil proceedings.

The data also provide information on the nature of the conflict (civil, criminal, administrative and labor) and on the specific court in which the procedure takes place. Constructing efficacy measures from the raw CGPJ data is a complex issue, so the following paragraphs attempt to explain it.

As an outline (see Fig. 1),Footnote 5 first we should identify the jurisdiction that deals with the conflicts we consider most relevant to the functioning of a company. Different types of conflicts are dealt with by different jurisdictions inside the Spanish judicial system (civil, social, administrative and criminal), which are served by different groups of judges and courts. Spanish companies may be confronted with very different types of conflicts in their daily functioning. A company may have to deal with conflicts with its employees (for instance, a dismissed worker may sue the company). In this case, conflicts are regulated by labor legislation and will be resolved in accordance with such laws by the employment tribunals (juzgados de lo social). A company may also have to deal with conflicts with public administrations. For example, a company may be discriminated against in a public procedure or the administration may fail to respond correctly to a request from a company. Those conflicts will be subject to administrative law and may have to be resolved through appeals to administrative courts (juzgados de lo contencioso-administrativo). Finally, conflicts may arise with other private firms or other private parties such as suppliers and customers. Examples of such conflicts include a non-payment of a service, disputes concerning the interpretation of a contract for the sale of goods and claims related to the intellectual property of a work or service. Those conflicts will be dealt with by civil courts (juzgados de lo civil). We decided to focus our analysis on civil conflicts because we consider that they are the most relevant to the activity of companies.Footnote 6

Fig. 1
figure 1

Outline of the Spanish judicial system

Once we have identified the relevant jurisdiction (the civil jurisdiction), we need to find the specific courts where the conflict is going to be resolved. These are the first instance courts (juzgados de primera instancia) and the first instance and instruction courts (juzgados de primera instancia e instrucción). Conflicts must enter the judicial system through these courts.Footnote 7 Finally, the specific procedure that must be used is determined by the Civil Procedural LawFootnote 8 (CPL), which regulates all civil conflicts in Spain.Footnote 9 First, the claimant company will have to obtain a declaratory judgment acknowledging that a debt or other right exists. If that is the case, the judge will declare the obligation of the debtor to pay or to compensate the right infringed. There are different types of declaratory judgments (see Fig. 1). Ordinary judgments (juicios ordinarios) are used if the conflict involves a sum of at least 6,000 Euros or relates to certain matters (such as appeals against decisions of the governing bodies of the company). Verbal judgments (juicios verbales) are given where the disputed amount is less than 6,000 Euros. Simpler exchange (juicios cambiarios) and monitory (juicios monitorios) procedures may be converted into verbal or ordinary judgments if the debtor defends the claim. Thus, we consider ordinary judgments to be the most interesting declaratory judgment to analyze. After the declaratory stage, an execution judgment may take place. This only occurs when the debtor does not pay the debt or fails to comply with the obligations imposed by the judge at the declaratory stage. That is, the claimant will ask the judge to (forcibly) “execute” the decision. The judge may, for instance, seize the amounts of a debt from the accounts of the debtor.

Using the raw data available from the CGPJ database, we have constructed a measure of efficacy for each court (which we have aggregated at the provincial level) and for each procedure (see Padilla et al. 2007; Mora-Sanguinetti 2010, 2012a, b): the congestion rate (see equation below).

$${\text{Congestion}}\,\,{\text{rate}}_{i,t} = \frac{{{\text{Pending}}\,{\text{cases}}_{i,t - 1} + \,{\text{New}}\,{\text{cases}}_{i,t} }}{{{\text{Cases}}\,{\text{resolved}}_{i,t} }}$$

The congestion rate is defined as the ratio between the sum of pending cases (measured at the beginning of the period) plus new cases in a specific year and the cases resolved in the same year. A lower congestion rate is related to greater efficacy of the procedures inside the judicial system. An average congestion rate of 2.41 in Madrid over the period 2001–2009 indicates that around two and a half cases (summing up the pending cases and the new cases arriving to the courts of Madrid in a specific year) were awaiting resolution while the courts were able to resolve just one.

The system of procedures explained above was adopted in 2000, replacing the previous system (CPL of 1881), and no business conflict has been initiated using the 1881 CLP since January 1, 2001 (Mora-Sanguinetti 2010). Therefore, although the CGPJ performance data of the civil courts are available since 1995, we only use data from 2001 onward. For the purposes of the analysis herein, we have chosen to aggregate the data at the provincial level,Footnote 10 although more disaggregated data on the judicial system are available. While a province may comprise one or more judicial districts, all of them share the same first instance (and first instance and instruction) courts, implying that the province is the relevant territorial unit for our analyses.

The CPL establishes the rules of territorial competence, that is, the court that will resolve the conflict. As a general rule, claims are entered at the province of the registered office of the defendant.Footnote 11 If the dispute concerns the annual accounts of the company, the court must be that of the province where the company has its registered office and the same rule generally applies to bankruptcy proceedings. If the claim relates to real assets (i.e., buildings), the conflict will be resolved at the province where the real assets are located. Moreover, in the case of small firms (the vast majority of the Spanish businesses), most of their trade and relations with other companies are likely to occur within one province.Footnote 12

Although the CPL is a national Law, the efficacy of courts may differ among Spanish provinces due to supply and demand factors. On the supply side, the resources invested in the justice administration differ, at least at the regional level.Footnote 13 On the demand side, litigation propensity may differ among provinces. This geographical variation in efficacy is illustrated in Fig. 2, which shows the average congestion rate for ordinary judgments (map on top) and executions (map on the bottom) at the provincial level for the period 2001–2009. There was, on average, a difference of 1.16 congestion points between the most effective (Álava) and the least effective (Alicante) province throughout the period. The difference is 3.87 points in the case of executions, between Álava (the most effective on average) and Castellón. Figure 3 shows the variation through time of the congestion rate (again, for ordinary judgments and for executions) for a group of provinces with low congestion (Álava, Guipuzcoa, Navarra and Zaragoza), with high congestion (Baleares, Málaga, Almería) and for Madrid, Spain’s capital and its largest city. As expected, congestion rates increased during the first years of the current economic crisis (2008 and 2009) in most provinces, as conflicts between contract parties are likely to arise when there are financial difficulties.

Fig. 2
figure 2

Congestion rate: geographical variation. a Ordinary judgements. b Executions. Source: Self-elaboration and Consejo General del Poder Judicial (2012)

Fig. 3
figure 3

Congestion rate: time variation. a Ordinary judgments. b Executions. Source: Self-elaboration and Consejo General del Poder Judicial (2012)

3.2 Measuring firm size and firm growth

We use two different gauges of firm size, total revenue and total employment to check the sensitivity of our results.Footnote 14 Those variables are obtained at the firm level from the SABI database for the period 2001–2009. SABI is a database that contains the annual accounts of Spanish companies,Footnote 15 both private and publicly held, and general information, such as the location of the registered office, the year of incorporation and the main industry of activity. The data on nominal revenue from SABI are deflated using sector-specificFootnote 16 value-added deflators from the OECD’s STAN database.

We do not use an additional measure of firm size and total assets, because assets in SABI are valued at their acquisition (historical) cost and SABI does not provide their purchase date, so they cannot be deflated. Using them at their book value would underestimate the size of old firms and overestimate the size of young firms. Moreover, total assets are comprised of very different items such as land, buildings, machinery, inventories or cash, so we would need a specific deflator for each component. But the fact that real revenue and total assets are highly correlated (0.73) suggests that we are not losing very relevant information.

Regarding the data selection criteria, we eliminate firms that entered or exited the marketFootnote 17 during the period of study, i.e., 2001–2009. There are two reasons to do so. First, we isolate the “intensive margin,” i.e., the impact of judicial efficacy on the size of incumbent firms. Second, we substantially reduce a major cause of non-random attrition in our panel: since the firms that enter or exit the market are, on average, smaller than the incumbents in Spain (López-García and Puente 2007), the probability that some observation is missing may be related to firm size. State-owned companies are also eliminated because, in Spain, they may resolve their conflicts in different courtsFootnote 18 and under different legal procedures than private firmsFootnote 19 and because the factors that determine their size may not be market-driven. We exclude foreign companies, as they may resolve their conflicts in other legal systems by engaging in “forum shopping.” We also eliminate consolidated accounts, i.e., the financial statements that integrate the accounts of the parent company and those of its subsidiaries into a single aggregated accounting figure. The reason is that several subsidiaries may have different registered offices and in turn use the courts of different provinces. Nonprofit organizations and membership organizations are also excluded. Finally, we also eliminate non-yearly financial accounts—since flow variables such as turnover can only be compared for firms with the same time length in their accounts—and observations with data inconsistencies.Footnote 20 Although the available information does not allow us to eliminate multi-plant firms and companies with multiple plants located in different provinces are likely to use the courts of those provinces, this problem is not severe in the case of Spain, since the majority of Spanish firms are mono-plant.Footnote 21 Nevertheless, in a robustness analysis, we have removed the financial services industry, where multi-plant firms are much more common. The results—see online Appendix D—are very similar.

The final sample has around 460,000 firms.Footnote 22 Online Appendix A shows their size distribution by province and by year as the arithmetic averages of employment and real revenue, respectively, suggesting that our sample is representative of the population of Spanish firms.

3.3 Measuring business demography

We compute entry and exit rates using census data from the Spanish National Statistics Institute (INE). The entry (exit) rate is the number of firms that enter (exit) a province in a given year as a percentage of all the active firms in that province at the end of the year (which include the new and continuing firms). Notice that those definitions of entry and exit rates implicitly characterize the relevant market at the territorial level, which is a simplifying assumption: while market definition is often a difficult task, it usually hinges on two dimensions, the spatial one and the industrial one. Unfortunately, we could not compute entry/exit rates at the province-industry level due to data constraints.Footnote 23

Both variables display substantial variation across provinces and years. Figure 4 shows the average (2001–2009) entry and exit rates by province in Spain. Average entry rates for the period 2001–2009 range between the 15 % of CaceresFootnote 24 and the 8.2 % of Soria. Average exit rates for the same period range between the 11.8 % of Gerona and the 7.6 % of Soria. There is little correlation between entry and exit rates (0.01). Entry rates have decreased and exit rates have increased since the onset of the last recession (2007–2009), as shown in Fig. 5.

Fig. 4
figure 4

Business demography: geographical variation. a Entry rates. b Exit rates

Fig. 5
figure 5

National averages of entry and exit rates over the period 2001–2009

3.4 Control variables

The literature has suggested several determinants of firm size and growth and/or business demography. Market size, per capita income and economic growth may have a positive impact on firm size (Laeven and Woodruff 2007; Lucas 1978; Tybout 2000; Urata and Kawai 2002). Access to credit is also a determinant of firm growth (Beck et al. 2008), as is the amount of available physical and human capital (Lucas 1978; Rosen 1982; Kremer 1993; Tybout 2000) and the industry in question (Kumar et al. 2001). In addition to those factors, business demography may be affected by labor market regulations (e.g., Botero et al. 2004), entry regulations (e.g., Djankov et al. 2002) and personal bankruptcy laws (e.g., Armour and Cumming 2008).

Most of our controls are province-level variables. We measure market size by the province’s GDP.Footnote 25 Economic development is captured by GDP per capita and the unemployment rate.

To measure access to credit, we include the banking credit to GDP ratio (credit/GDP), the number of bank branches per 1,000 persons (branches), the non-performing loans ratio of credit institutions (Npl ratio) and the ratio of defaulted accounts receivable to GDP (Dar/GDP). Banking credit to GDP ratio and branches per capita are standard measures of financial development (Rajan and Zingales 1995; Giacomelli and Menon 2013). We expect higher ratios to be associated with less financial constraints. The ratio of defaulted accounts receivable to GDP is an alternative proxy of credit constraints that focuses on trade credit instead of banking credit (Padilla et al. 2007). A higher ratio means, ceteris paribus, lower incentives for borrowers to repay—probably because of poor creditor protection or contract enforcement—which causes more credit rationing. The same reasoning applies to the non-performing loans ratio.

It also seems appropriate to control for industrial composition since the type of industry is a determinant of firm size due to factors such as economies of scale and economies of scope. To capture industrial composition, we compute the ratio of the gross value added of the main six industries (primary sector, energy, manufacturing, construction, market services, non-market servicesFootnote 26) over the total gross value added of each province.

We control for other market characteristics. We measure the degree of competition with the Herfindahl–Hirschman Index (HHI).Footnote 27 We take into account the average level of vertical integration in the province, since firms may respond to poor contract enforcement by vertically integrating their production process and vertically integrated firms are expected to be larger. Vertical integration is measured by the ratio of value added to sales, where value added has been corrected for extraordinary positions.Footnote 28 This ratio is expected to be higher for vertically integrated firms because of their lower expenses in outside purchases of intermediate inputs. We first compute this ratio at the firm level and then we average it across firms. We also control for differences in capital–labor ratios. We first compute the firm-level capital intensity as the ratio of capital stock (tangible fixed assets plus inventories) to the number of employees and then we average it across firms. Finally, we take into account the proportion of corporations, since limited liability incentivizes investment and growth.

We capture the availability of human capital with the share of PhD graduates on population. We include the share of foreigners on population as well, since cultural factors may influence entrepreneurship and foreigners may have a different propensity to litigate. To keep into account the negative impact of criminality on economic activity and businesses, we compute crime rates as the number of convictions over population.Footnote 29 Finally, following the findings of Carmignani and Giacomelli (2010), we use the number of lawyers per 10,000 people (Lawyers) as a proxy of litigation intensity, since cheaper access to legal services may help firms grow but it may also congest the courts.

Finally, for the analysis of firm size and growth, we also use two firm-level variables: the company’s age and the ratio of tangible fixed assets to total assets (tangibility). According to Berger and Udell (1995) and Petersen and Rajan (1994), age captures the public reputation of the firm. We test for the presence of nonlinear effects by including the square of age. As tangible assets have more collateral value than intangible assets, firms with high values of Tangibility may have a lower cost of credit (Rajan and Zingales 1995; Fabbri 2010).

Other factors such as the bankruptcy code, the labor law, the level of protection of patent rights and accounting standards have no relevance to this study as they are set at the national level in Spain, so they exhibit no geographical variation, while any nationwide change in these regulations will be captured by the time dummies.

Table 1 provides a description of the variables used in our analyses, distinguishing between firm-level variables and province-level variables. Table 2 contains some descriptive statistics on those variables and other sample characteristics, while Table 3 shows the sample’s industry distribution. We can see that the median firm has five employees and it generates revenue of 400,000 Euros, i.e., it is a very small firm. However, the large standard deviations of those variables and the right skewness of their distributions require that those variables are analyzed in logarithm form in our regression analyses. The median firm is also 11 years old. Most firms in the sample are limited liability unlisted companies. The sample covers all relevant industries, with 28 % belonging to wholesale and retail trade, 19 % to real estate, renting and business activities, 18 % to manufacturing and 15 % to construction.

Table 1 Description of variables
Table 2 Descriptive statistics
Table 3 Sample’s industry distribution (intensive margin)

4 Estimation strategy

4.1 Identification strategies

As it was discussed in the introduction, the main caveat of previous studies is that they focus on the impact of judicial enforcement on average firm size without differentiating between the two possible channels: the effect on the size and growth of incumbent firms (intensive margin) and the effect on entry and exit rates (extensive margin). We will also differentiate between the efficacy of civil procedures at the declaratory stage (i.e., when a debt is declared and recognized by a judge) from those at the execution stage (i.e., when the judge requires its payment), as the assessment of the overall functioning of the judicial system—as done by the previous literature—may be misleading if only some procedures influence firm’s behavior.

4.2 Analysis of the intensive margin: firm size and firm growth

The analysis of the intensive margin is carried out by regressing firm-level measures of firm size and growth on province-level congestion ratios, a wide set of controls, firm fixed effects and time dummies. Formally, it can be expressed as follows:

$$Y_{ijt} = \alpha_{i} + \beta \,\,{\text{Congestion}}\,{\text{rate}}_{jt,} + \sum\limits_{k = 1}^{K} {\delta_{k} {\text{ Control}}_{jt}^{k} } + \sum\limits_{t = 1}^{T - 1} {\gamma_{t} d_{t} + } \varepsilon_{ijt}$$

where \(Y_{ijt}\) is either firm size or firm’s growth (measured in terms of employment or real revenue), α i is firm fixed effects, Congestion rate jt is the measure of judicial (in)efficacy (for the specific judicial procedure considered in each case), \({\text{Control}}_{it}^{k}\) is a set of K control variables, d t are time dummies and the indices i, j, t refer to the firm, province and time period, respectively.Footnote 30

Our key regressor, the congestion rate, could be interpreted as the “price” of the market for judicial services, i.e., the observed court congestion in a province in a certain year is the result of the supply of judicial services being equal to its demand. Hence, congestion rate is a function of supply and demand factors. The key-identifying assumption is that, in the case of Spain, the supply of judicial services is exogenous to firms’ size and to firms’ decisions to grow and enter/exit markets. If the supply of legal services was determined by the companies’ and individuals’ demand for justice in each province, we should observe no or little variation in courts’ congestion across the 50 provinces, but Fig. 2a, b shows considerable variation across them. More remarkably, the most industrialized Spanish provinces, which are those with larger firms and arguably more litigation, exhibit very different levels of congestion. While the Basque country provinces and Navarra have low congestion rates, Barcelona has intermediate levels and Madrid relatively high ones. A potential explanation of those facts is that resources are allocated according to the population size of each province, a criterion that fails to take into account the differences in the intensity of corporate litigation and in the complexity of trials (Fabbri 2010; Mora-Sanguinetti 2012a, b). Moreover, the courts considered in this study (“juzgados de primera instancia” and “juzgados de primera instancia e instrucción”) are not specialized in corporate matters, as they also resolve a wide range of conflicts that are totally unrelated to corporate decisions (e.g., evictions, inheritance conflicts). Thus, the distribution of those courts is not likely to be influenced by the distribution of conflicts relevant to firms’ decisions. Judges in Spain are also obliged to process and resolve cases in chronological order of entry, and therefore cannot give preference to corporate conflicts over those between individuals.

By contrast, the demand of judicial services may be endogenous to firms’ size as larger firms may have a higher propensity to litigate because of the fixed cost component of judicial services,Footnote 31 hence increasing courts’ congestion. To overcome that identification challenge, we undertake three different strategies. First, size—either measured in terms of employment or revenue—is set at the firm level in our regressions, while the congestion rate and the controls are set at the province level. Since the decision of a single firm to litigate is likely to have a negligible impact on the congestion of the courts of a whole province, that design should alleviate endogeneity concerns.Footnote 32 However, if there is a common shock that makes many (large) firms in the same province to litigate at the same time, then that identification strategy would not solve the problem. Hence, the second strategy is to use, for robustness, an alternative dependent variable, firm’s growth, whose correlation with firm size is quite modest (0.22 and 0.16 in terms of revenue and employment, respectively). The use of that variable also has the advantage of allowing for a direct test of the effect of judicial efficacy on firm’s growth. The third strategy, following Giacomelli and Menon (2013),Footnote 33 consists of controlling for differences in litigation intensity across provinces by adding the variable Lawyers in some specifications. Finally, in the event that those strategies did not totally remove the reverse-causality bias, we know the sign of such a bias: we would find a positive correlation between firm size/growth and court congestion. By contrast, since our estimates show a negative relation between firm size/growth and court congestion (see Sect. 5), either that bias does not exist or it is not large enough to offset the causal effect of judicial enforcement on firm size/growth. In other words, our estimates provide the lower bound of the true causal effect.

Another identification challenge is that firms’ locations are endogenous and may depend on factors such as the efficacy of judicial procedures. In such a case, if firms prefer regions with more effective courts and larger firms benefit more from such courts because of their higher demand for judicial services (or their lower costs of changing their location), then part of the relationship between firm size and judicial efficacy could be due to an “attraction effect” rather than a “growth-enhancing effect.” However, our identification strategy rules out this potential source of bias by eliminating firms that entered or exited the market during the period of study.

4.3 Analysis of the extensive margin: entry and exit rates

In order to study the potential impact of the different judicial procedures on the decisions of firms to enter or exit a market, we regress entry and exit rates on (the log of) congestion rate of each procedure, a set of province-level controls, time dummies and province fixed effects. The controls are the same as in the previous analyses, with the exception of incorporation ratio, which is excluded because it would be an endogenous regressor by construction. Entry and exit rates are expressed in logs to correct for right skewness. Formally, the analysis can be expressed as follows:

$$W_{jt} = \alpha_{j} + \beta \,\,{\text{Congestion rate}}_{jt,} + \sum\limits_{k = 1}^{K} {\delta_{k} {\text{ Control}}_{jt}^{k} } + \sum\limits_{t = 1}^{T - 1} {\gamma_{t} d_{t} + } \varepsilon_{jt}$$

where W jt is either the entry rate or the exit rate, α j is province fixed effects, Congestion rate jt is the measure of judicial inefficacy (for the specific type of judicial procedure considered in each case), \({\text{Control}}_{it}^{k}\) is a set of K control variables, d t are time dummies and the indices i, j, t refer to the firm, province and time period, respectively.Footnote 34

The identification strategy relies on the time dummies and the province fixed effects to ensure unbiased estimates. First, the entry and exit rates, the procedural congestion rate, measures of macroeconomic performance (GDP, unemployment) and proxies of credit conditions (e.g., credit to GDP, non-performing loans ratio) are expected to be correlated along the business cycle. By including time dummies, we control for this common factor. Second, entry rates and economic development are jointly determined by institutional factors and, more specifically, by regulations on entry (Djankov et al. 2002; Klapper et al. 2004). In Spain, an important part of the regulations governing entry (e.g., company’s registration, licenses) lies within the competence of the regions (Comunidades Autónomas) (Mora-Sanguinetti and Fuentes 2012a, b). A region may comprise one or more provinces. Since entry regulations and, in general, institutions, change slowly over time, the province fixed effects may capture them quite accurately in a short time period like the one used in our sample (2001–2009). Finally, since the main regulations governing exit, the labor law and the bankruptcy code, are set at the national level, we do not expect institutional factors to determine the geographical variation of entry rates, while any nationwide change in these laws would be captured by the time dummies.

Moreover, we are not concerned about reverse-causality problems because the supply of judicial services is exogenous (see discussion in previous section), and we do not expect the demand for the specific judicial procedures analyzed in this paper to be influenced by entry and exit rates, as conflicts related with companies’ entries or exits are generally solved in courts different from the general civil courts from which our data are drawn (juzgados de primera instancia, juzgados de primera instancia e instrucción). In the case of the (rare) conflicts regarding entry, those will be solved in the administrative courts, as it is the public administrations’ role to check that a firm meets all the requirements to begin its business activities. In the case of conflicts regarding exit, those concerning layoffs are resolved by the employment tribunals (juzgados de lo social) while bankruptcy procedures are tried in specialized mercantile courts (juzgados de lo mercantil) since 2004.Footnote 35 In any case, if exit rates had some impact on court congestion, we again know the sign of reverse-causality bias: we should expect a positive correlation between the two variables. By contrast, our estimates show a nonsignificant (negative) relationship between the two (see Sect. 5).

5 Results

We have carried out empirical analyses for each type of procedure (ordinary, verbal, monitory, exchange and executions). For brevity of exposition, we only display in the following sections the results for the representative declaratory judgment (ordinary judgment) and the executory judgment. The results corresponding to verbal judgments (see online Appendix B) and monitory and exchange—available upon are request—are similar to those for ordinary judgments.

We expect the different types of declaratory judgments (ordinary, verbal, monitory and exchange) to have a very similar impact on firm size. Executory judgments, however, as explained in Sect. 3.1, have a different nature and take place later than declaratory judgments. The correlations of our key variable congestion rate among those procedures corroborate this argument. As we can observe in Table 4, executions are lowly correlated with the rest of procedures, while all types of declaratory judgments are highly correlated among each other, with correlations ranging between 0.7 and 0.8 in most cases.

Table 4 Correlations of congestion rate (in logs) among the different procedures

5.1 Analysis of the intensive margin

5.1.1 Ordinary judgments

We commence the analysis with ordinary judgments because, as discussed in Sect. 3.1, they are considered the most relevant civil procedures for companies. We run several regressions where the dependent variable is either firm size or firm growth. We measure firm size by total employment or real revenue (both of them in logs) and firm growth by the annual growth rate of those variables. Our key regressor is the (log) congestion rate of ordinary judgments (congestion ordinary). Some of the controls are also in logs to correct for right skewness. We show four different specifications for each dependent variable. Specification (1) only includes congestion ordinary, firm fixed effects and time dummies. Specification (2) adds to (1) some firm-level controls. Specification (3) adds to (2) a large set of province-level controls. Specification (4) also includes the variable Lawyers.Footnote 36

The results are displayed in Tables 5 and 6. Congestion ordinary always has a highly significant and negative coefficient, suggesting that judicial (in)efficacy has a negative impact on firm size and hampers firm growth.Footnote 37 The estimated elasticities and semi-elasticities are larger—in absolute terms—when size is measured in terms of revenue, suggesting that the inefficacy of the judicial system may deter more sales than hiring staff. The controls’ coefficients, when significant, usually have the expected sign.Footnote 38

Table 5 Impact of judicial efficacy (ordinary) on firm size and growth: employment
Table 6 Impact of judicial efficacy (ordinary) on firm size and growth: real revenue

We can evaluate the economic significance of the effect by means of a simple hypothetical experiment. Attributing to the province with the worst judicial efficacy the best law enforcement in our sample,Footnote 39 the relative increaseFootnote 40 in firm size would range between a 0.6 and a 2.8 %, while annual firm growth would rise between 1.1 and 2.8 % points.Footnote 41 Hence, the effect on size is quite modest, while the effect on growth is quite remarkable, especially considering that the average growth rate for the period 2002–2009 was −3.1 and 0.1 % in terms of revenue and employment, respectively.Footnote 42

The main result of the analysis of verbal judgments (displayed in online Appendix B) is the same as in the case of ordinary judgments: judicial inefficacy has a negative impact on firm size and growth, which is robust to all specifications.Footnote 43

5.1.2 Executory judgements

The results for the analysis of the executory judgments are displayed in Tables 7 and 8. In the case of firm size, the coefficient on congestion executions is always negative and statistically significant. However, it is very small in comparison with the analogous coefficient in the regressions for ordinary judgments. In the case of firm growth, the coefficient is never significant. These results indicate that judicial efficacy in executory judgments is not a robust determinant of firm size and firm growth.

Table 7 Impact of judicial efficacy (executory judgments) on firm size and growth: employment
Table 8 Impact of judicial efficacy (executory judgments) on firm size and growth: real revenue

A possible interpretation of these findings is that firms make their business decisions solely based on their expectations about the quality of legal enforcement in the first—and usually the only—stage of the process (the declaratory judgment) (see Fig. 1), which mainly corresponds to ordinary (or verbal, exchange, monitory) judgments. In other words, the enterprise does not take into account the efficacy of resolution of executory judgments, because the ruling of the judge in that first step is generally sufficient to make the contracting parties abide by their obligations. There may be several explanations for this: penalties for delayed payment, risk aversion (even if the probability of punishment is small, individuals may suffer from a disutility higher than the expected punishment), internalization of social values (the “right” thing to do is to abide by the law, once there is a ruling against the company) and reputation (there is an immediate damage to the reputation of the company when it loses a trial, whether or not it decides to comply with the obligations imposed in the judgment). Regarding the first argument (penalties for delayed payment), the Spanish procedural law establishes that, immediately after a judgment that compels the debtor to pay off a sum of money, the debt will accrue interest.Footnote 44 Therefore, this rule discourages the debtor to delay the payment and to cause the need of an executory judgment.

Regardless of the underlying factors, these results highlight the importance of taking into account the type of procedure when studying the link between firm size and growth and judicial efficacy. The difference between the procedures is important not only for businesses but also for the public administration, as it has to optimize its investments in the judicial system.

5.2 Analysis of the extensive margin

5.2.1 Ordinary judgments

The impact of judicial (in)efficacy on entry and exit rates, in the case of the ordinary judgments, is displayed in Table 9. The coefficient on congestion ordinary is negative and statistically significant in all the regressions where the dependent variable is the (log) entry rate, while it is never statistically different from zero when the dependent variable is the (log) exit rate.Footnote 45 The controls’ coefficients, when significant, usually have the expected sign, although most of them are insignificant, probably because their impact is picked up by the province fixed effects.

Table 9 Impact of judicial efficacy (ordinary) on entry and exit rates

Those results suggest that judicial efficacy in ordinary judgments promotes entry and has no effect on exit. We can estimate the size of the effect using the same experiment as in the cases of firm size and growth. Attributing to the province with the worst judicial efficacy the best law enforcement in our sample, the relative increase in its entry rate would range between an 8.8 and a 9.5 %. Hence, the effect is not only statistically significant but also economically relevant.Footnote 46

Therefore, it seems that judicial efficacy in ordinary judgments influences average firm size through two different channels. On the one hand, it fosters the growth of incumbents, which increases average firm size. On the other hand, it also promotes entry and, since entrants are generally smaller, it decreases average firm size. The overall effect, as found in previous literature, seems to be positive. More important, while those channels have opposite effects on average firm size, both have a positive impact on the economy, since both larger firms and higher entry rates are associated with more innovation and higher productivity growth.

5.2.2 Executory judgments

The impact of judicial (in)efficacy on entry and exit rates in the case of the executory judgments is displayed in Table 10. The coefficient on congestion executions is never statistically different from zero.Footnote 47 Hence, judicial efficacy in executions has no effect on either entry or exit.

Table 10 Impact of judicial efficacy (executory judgments) on entry and exit rates

6 Conclusions

Previous literature has found that the quality of the legal system and, specifically, the aggregate effectiveness of courts have a positive effect on average firm size within a country. This paper goes a step further in two different (but complementary) directions.

First, it disentangles the impact of the different judicial procedures on average firm size between two possible channels: the effect on the growth of incumbent firms (intensive margin) and the effect on entry and exit rates (extensive margin). The identification of the specific channel is crucial in order to draw the correct policy implications, as entrants are generally much smaller than incumbents, but both high entry rates and high firm growth are associated with higher productivity growth and innovation. To put it differently, higher average firm size is not always desirable, as it could reflect sclerotic markets characterized by low entry and exit rates rather than by high-growth firms. In this paper, we find that judicial efficacy fosters the size and growth of incumbents and that it also promotes entry, while it has no impact on firms’ exits. Hence, increasing judicial efficacy would be welfare-improving, regardless on its impact on average firm size. This is particularly important in the case of Spain because Spanish firms are small in international terms, entry rates are relatively low and the Spanish economy is characterized by low TFP growth.

Second, this paper finds that the impact of the judicial system critically depends on the type of procedure used. Specifically, we find that judicial efficacy at the declaratory stage (i.e., when a debt is declared and recognized by a judge) has a positive impact on firm size, firm growth and entry rates, while judicial efficacy at the execution stage (i.e., when the judge requires its payment) has no significant impact whatsoever. Various reasons may be influencing this fact: penalties for delayed payment (the interest rate paid as a punishment is usually quite high), risk aversion (even if the probability of punishment is small, individuals may suffer from a disutility higher than the expected punishment), internalization of social values (the “right” thing to do is to abide by the law, once there is a ruling against the company) and reputation (there is an immediate damage to the reputation of the company when it loses a trial, whether or not it decides to comply with the obligations imposed in the judgment). While the Spanish judicial system suffers from higher general inefficacy than that of neighboring countries (Palumbo et al. 2013), this paper proposes a guide on where to concentrate efforts to optimize the resources invested in the Spanish judicial system: preference should be given to speeding up declaratory judgments. In any case, at the research level, our findings warn that the use of “aggregate” measures of civil efficacy, as done in the previous literature, may provide an incomplete view of the problem.

Finally, another contribution of the paper is to use more consistent measures of judicial efficacy in Spain than previous literature. We constructed measures of judicial efficacy with real performance data extracted from the courts and not survey data or statistical estimations. Moreover, this is first time that the relationship between firm size and judicial efficacy is analyzed in the case of Spain following the introduction of the new Civil Procedural Law in 2000.