How can a legal opinion help individuals prevent civil or criminal disputes?