the way i see it, stella and nils exist in the story to show how being queer suddenly doesnt make you understand/care for other marginalized groups. to highlight the fact that wilhelm changed for the better because he wanted to, not because he fell in love with a boy