Do you think law should be used as a tool for shaping a shared moral climate?

Do you think law should be used as a tool for shaping a shared moral climate?

Do you think law should be used as a tool for shaping a shared moral climate? Why or why not? Should moral values be written into the law and enforced? Can you think of any examples where a change in the law seemed to improve the moral climate of society?