actully if you destroy them you will notice that there are thin strips of land bettween them.
Of course,its too easy to find out how they did these walls on the water. they just added some small terrain strips on the water,so they could put walls on it.
I didn't tried it out on the map editor but i knew that it was some random terrain strips.
LOL clever Ensemble studio.