Chief Justice John Roberts quoted former House Speaker Nancy Pelosi (D-CA) in the majority opinion