Labor Market Regulation and the Legal System