A lot of law is performative - about getting the judge to interpret the main question in the case in the terms that would be most favorable to your position. While generating all of them doesn't actually change anything legally, it would be successful in, for example, getting a judge or jury to be more inclined to believe that the song was not copied due to the set of notes being the same.