I think there's a lot of counterargument to this, but I'll stick to the best one: propolis is used as more than just a a sealant for the hive.
"However, if a small lizard or mouse, for example, finds its way into the hive and dies there, bees may be unable to carry it out through the hive entrance. In that case, they would attempt instead to seal the carcass in propolis, essentially mummifying it and making it odorless and harmless."
Example picture: https://www.researchgate.net/figure/A-mouse-skull-that-was-e...