legal systems in literature