CASTLETON, Va.–With discord likely to characterize Monday’s Supreme Court ruling on contraceptive coverage under the Affordable Care Act, Justice Ruth Bader Ginsburg spent the weekend immersed in something more harmonious: the world of Puccini, Bizet and Gilbert & Sullivan.

Months ago, when the Supreme Court expected to finish its business by June 26, Justice Ginsburg had scheduled her visit to the Castleton Festival, a music and theater extravaganza the conductor Lorin Maazel and his wife, actress Dietlinde Maazel, hold at their 600-acre farm in rural Virginia. Though the court missed its target, Justice Ginsburg kept her date, presenting for an audience of 138 a program mixing two of her passions, “Law in Opera.”