Omicega is right, but to overcome this dilemma one could just create two groups, 1 GRN only the other all anti BAF Pirates - Corsairs, Gaians etc and these two groups could work together to kill BAF while not being in the same group. Thus ID rules are not broken, to concrete this further prior to any engagement the GRN and Corsairs could 'meet' eachother on the battlefield and agree a temporary truce while the BAF are there.
Once the battle is over the GRN could turn against the Corsairs and slaughter them having 'used' them to initially to help against the BAF. As BAF are the main enemy and a higher priority target, but since the GRN are inRP merciless cold blooded murdering b******* it would not be ooRP for them to change their minds after the BAF event and kill the Corsairs I mean Gallia does not owe the pirates anything they are just riff-raff after all.
I remember when Dab was leader of the GRN and during a big battle in Leeds the Mollies were present and the GRN arranged a ceasefire with the Mollies to engage the BAF. Once the BAF were destroyed the GRN turned on the Mollies when Dab gave the order and the GRN slaughtered all of them it was Beautiful RP. The Mollies were like but we just helped you against the BAF ??? X_X