Yep. In the book, Marilla puts her wine in the cordial bottle. Either the original bottle had broken, or that was just the bottle she used when she made it (I don't remember). Marilla was ALWAYS doing this in the books. Anne also made a cake for the minister's wife and put linament in it because Marilla had broken the bottle and put what was left in a vanilla bottle, that Anne unknowingly used in the cake. Then, in Anne of Avonlea, a similar mistake was made with a red fabric die and skin cream that Anne used.
They really should have had a system of marking any jar or bottle that was being used for another purpose. It would have saved a lot of grief.
Wouldn't Anne know the difference from linament and vanilla by smell?