A codimension-two point associated with coupled Josephson junctions