Hmm... what happens? Do the castles uproot themselves from their foundations at night so as to rampage through the forests, destroying them, and then return to their foundations just before dawn so that people seeing them will be fooled into thinking they are inanimate objects?
Or was this just bad writing?
They learned it from the Scots, who had decimated Birnam Wood in the struggle against Macbeth.