Law demands the attention of the author towards the legal rules of conduct, formal legislature enactment and principles of violations or penalties. It is a form of technical writing to express legal analysis, rights and duties.
Law defines the correct and exact behavior or procedure of conduct. Hence, it is formal mechanism of social control. Writing non-fiction on law genre can be incredibly compelling. Factual accounts jazzed up with a creative, or some supposition, it retains the relevance of real life events while adding a little entertainment of a dramatic tale.
A straight biography is one thing, but law books thrive on the bundle of facts and practical knowledge. In this way, nonfiction is a great way of imbuing real stories with an enhanced readability. The genre does, however, come with its own set of risks. It is technical and requires to stick to its purpose and goal without prejudices and subjectivity.