The existence of a legal system is a matter of social fact.
There are no shortcuts in technology, only down-to-earth efforts.