Presumably to be effective such arrangements must be perceived as just by an overwhelming majority of a society. Thus, a rule of law arguably requires democracy. Clearly, ideas shape societies and economies.
Indeed, I have maintained over the years that the most profoundly important debate between conflicting theories of optimum economic organization during the twentieth century was settled, presumably definitively, here more than a decade ago in the aftermath of the dismantling of the Berlin Wall.