Here's a paper on Harry Potter and economics. Not exactly law and magic, but there is a link between economics and law, since governments attempt to regulate the market to a greater or lesser extent.
Darwyyn Deyo, George Mason University, Department of Economics, and Marta Podemska-Mikluch, Beloit College, It's Just Like Magic: The Economics of Harry Potter. Here is the abstract.
Do the laws of economics apply in the magical world of Harry Potter? Even though J.K Rowling placed her characters in a world of magic, wizards remain subject to the implications of scarcity. As a result, the series is abundant with examples of basic economic principles. Given the popularity of the series, its use in the classroom is likely to inspire students to adopt the economic way of thinking for life. We demonstrate the pedagogical potential of the series by providing illustrations of trade-offs and opportunity costs, marginal thinking, the power of incentives, and the benefits of trade and commerce.
Download the paper from SSRN at the link.