The solution is quite clear. Eliminate the rope climb and substitute with an event that everyone gets into a circle and discuss how they feelings are going to be damaged if they don’t get allow to be in the Infantry. Everyone will gives hugs and it will all be OK.
Alternatively, if it has to be a physical task. The boys will be required to climb the rope. The girls will slide down. See, that was easy. Group hugs.
Shhh! Don’t give them any ideas!