I read something about how Versailles did not have areas to relieve oneself so people would just do it in corners around the palace.
I guess what they did have was legions of servants to clean it up.