Oh! She really is there to solve the case! And the fact that she recognizes them means she won’t mix Lottie up with her imaginary friend. More likely, the imaginary friend is based on Lottie.
And she’s already as good as invisible to Charlotte. The unintended slight! The consuming jealousy! It all began right there in that elevator!