Well, usually they would expel it with their excrement, but if it gets lodged somewhere inside the monster (as in the case of the legend mentioned above) there could indeed be dire consequences.What could possibly go wrong if a big enough monster swallows an elven ruby whole?