Classifying pairs of real-closed fields