It's a legal gray area with no clear precedent.
You are responsible for complying with copyright law in your jurisdiction.