Music companies and film producers suffered a partial setback in their fight against internet piracy on Tuesday when Europe’s top court ruled individuals’ rights to privacy could be allowed to override the rights of copyright owners seeking to bring civil legal claims.