If one follows the requirements set out in the link I provided then it isn't a problem. Major film and TV producers have lawyers to advise them on this kind of stuff and they ensure that those rules are followed. It's not hard to do, and following those rules avoids any potential for trouble.

