It doesn't matter if they use front or rear panto of the loco... Only thing that matters is that both locos can't have same panto direction operational for example front loco has back panto raised and so rear loco cannot have his back panto raised, they need to be opposite to each other...