How legal opinions on taxation can mitigate business risks