It will definitely take them a few days to adjust if they're accustomed to roaming free, but they WILL adjust. And yes, they're likely to be a bit more rambunctious if they can see the girls than if they can't but given the breeds you mentioned I doubt there will be any serious problems.
One funny about my "frat house": I decided to give by six bachelors some fresh kale as a treat. For several minutes they all stood over the kale, picking it up and putting it down while clucking loudly to invite the girls to join them for a treat, but all of the girls were free-ranging on the other side of the yard. I kinda felt sorry for those guys. After a while they actually started offering the kale to one another. I could just hear this comical conversation going through my head, "Please, you go first. No, no...you! No, really, I insist." LOL!