Yes, Law is the nexus where Moral, Political, and Commercial interest all meet. Its going to be messy and complicated.
But, it's common on tech boards to have a very loud minority of autistic-types claim that all these things can be solved by "code".