My theory is that your hands and body posture had ingrained very subtle misalignments on your regular piano. On the other hand you had learned the music very well. When you went to a new piano, you were probably seated a little differently and the keyboard felt a little different. The suble misalignments that threw you off on the old piano disappeared and the major, correct, movements and the music that you learned correctly took over.
This happens to me all the time when I leave a piece for a few weeks that I had learned very well but there was always certain places that gave me trouble. A lot of times when I come back to the piece, the troublesome places aren't nearly as bad - my theory is that the subtle things going wrong faded away and the strongly memorized stuff took over. Doesn't happen nearly all the time, but it has happened enough for me to remember it.