how can legal opinions help with regulatory compliance