how do legal opinions help with regulatory compliance?