Foreign banking and financial companies that were operating in treaty ports and foreign enclaves benefited from relative rule of law and legal innovations of the Western world such as limited liability.