Once, many years ago, I was on a flight that had to make a fuel stop at SMF before continuing to SFO. So, as said, it is not common but it does happen.
The most interesting thing was how it happened: We were descending steeply very early, then the pilot came on the intercom: "No time to explain but we're landing in Sacramento." Only after we landed did he explain what was happening.