Both cases referred to speak generally to the second-class status women have in society. I don't think they are linked directly, but the fact remains that there is frankly a gender hierarchy in society, and certainly in marriage as well. Some of the laws try to enforce this. But I don't think the hierarchy was what was at issue here in the Jabbari case. The Jabbari case was actually a failure to further proper legal procedure, a failure to ensure that the defendant had all her rights respected, the failure to look at all the evidence properly and therefore give her a fair trial. Without that, even if there was gender parity, then the outcome would still be unfair.
By and large, the laws entrenched hold women in a second-class status. For example, a woman cannot go out to work if the husband objects to it. The greatest complaint, I'm told, is a similar law that allows a wife to complain and have the husband stay home, but there the judge must determine that it's detrimental to the children's welfare and so on.
So in a society in which women don't enjoy a substantive equality, then formal equality of this sort doesn't really go very far.