how can a legal opinion help with risk management