Moreover, even if it represents a stegosaur, the carving could have been based on fossil remains rather than the artist seeing a live stegosaur.
Even today humans live with a large group of dinosaurs, called birds.