Errors and Omissions Insurance for Production Companies

What happens when your production company accidentally captures a major household brand in a filming scene? Did you have contracts signed to allow your production to use that name brand?