This very interesting working paper written by Juan S. Mora-Sanguinetti and Nuno Garoupa can be fully read here:
Here is an abstract:
There is empirical evidence of a cross-country positive association between the number of lawyers per capita and the extent of litigation. For instance, Spain has more litigation and more lawyers per capita than most OECD countries. How should this association be interpreted? In this paper we analyse the variation in both variables across Spanish provinces during the period 2001-2010, by means of an instrumental variable approach, to shed some light on the sources of the statistical association between them. Finally, implications of the results are discussed.