Doesn't the law there still prefer male royalty over female royalty when it comes to throne inheritance?
It depends on who gets there first.
Apparently most, or all, commonwealth countries will have to adapt their throne inheritance laws, because they prefer male over female, so, when a girl gets a younger brother, her claim to the throne will be gone.
Time for a feminist wind through the commonwealth.