How do legal opinions mitigate IP risks?