All of the women went to jail

I find it very interesting that all of the women went to jail, but the man who flew them in for his friends didn't go to jail. Considering he is one of the sons of the ruler, he could probably spring them pretty easily.