I assume it's because the official marriage was arranged and the families were rich, so having an affair is considered normal. Look at how old money Americans have mistresses and boyfriends in their own arranged marriages, or how Prince Charles and Diana both had side arrangements.