That kind of makes sense, thanks! It has puzzled me for years. It was very convincing dream Spanish, like fluency in technical verbiage and speaking about higher order mathematics - all in Spanish when I still had a hard time asking for a room for the night.
I had a similar experience while doing undergrad physics. I would dream up incredibly elegant solutions to hard calculus problems ... wake up, write them down and go back to bed. In the morning I would find stuff like dx/dx = c or some other trivial or incorrect equation.