“Cosette only exists because they needed a soprano”
yes
I can see it now
Victor Hugo, fully aware that his literary masterpiece will be given a musical adaption over a century into the future, plans out all the vocal ranges of each of his characters
He realizes that he lacks a soprano and from there Cosette is born