Consider the following:
Prayers are purposefully-designed.
They must be cast (drafted) a specific way, and by the right grimoire of spells (your statutes and rules of court).
Succeed, and a specific relief is bestowed, to 'cure' a man of his legal ailments.
Fail, and nothing happens. (Or that which should not magically be summoned, is.)