So, not really rivets, but pegs?
Isn’t the way they usually built things back then?
pegs make more sense because they swell when wet.