When there’s a balanced incentive to point out hallucinations, they (hopefully) won’t get that far.
That I can see. Unlike software "engineering", law is a field which has high and exacting standards - and faltering even slightly can lead to immediate and serious consequences.
That goes some way to explaining why programmers don't have a moral compass.