The effects of litigation on economic regulations