in my build i thought a piece of wood was run along front to back. and the reason given to me for that wood is exactly what you mention. and they showed my how it would stop the foam from moving sideway, again it made sense to me.
but i went out to check it out and it is not there. now i am not worried about it, because of the size of mine. with the spars and bulkhead attached to both walls in my size tear it works. now over time i am not sure how the glue will hold up. so i think and this is only my opinion, that a piece of wood does need to be run lenght wise. in the first build i am just going to keep an eye on it, if i feel is starts to loose that bond i will just run that strip of wood. but i won't add it til then.
on the second build, i am going bigger and wider. i am pretty sure i will be adding that strip of wood.
the thing is i just don't know how long that bond will hold over time.
maybe a full lenght of wood would not even be needed. perhaps just blocks spaced out along the floor board? just like spars are added every so many inches. just add the floor joint wood every so many inches.
i really need to stop thinking

but those wood blocks or whatever you want to call them, really might not be needed, depending on how other things are attached. for example if you have a bulkhead, going side to side, you would not need that floor joint there. if you have something other type of wall/support at the opposite end of the tear that attached both walls together, the again, you would not need that floor joint.
i am thinking that is why i don't have the piece that runs front to back. i have one spar on the floor that runs side to side and i have the bulk head wall side to side. so in my size that is all i needed.
ok getting another cup of tea now.