Not sure about open-source licenses specifically, but as for Ship of Theseus, _bits have color_. One sequence of bits may be a license violation, and the exact sequence of bits obtained through different means may be not a license violation.
See https://ansuz.sooke.bc.ca/entry/23 and discussion at https://news.ycombinator.com/item?id=24917679 and older