If they weren't pushing out mode S, I would guess they were UK military types operating as a formation in class C airspace and hence perfectly legal.
I once got a pair of DC8s (of different airlines) about a mile apart at FL350 perfectly legally but that's another story.