If Solomon was asked to pronounce on Madeleine now living with another family, I think he would decide that anyone cruel enough to steal another mother's baby was not a fit person to keep her - and just as before - he would decree that she be returned to her rightful mother.
A woman or a man who steals a child can't be a loving and ethical person. This is why I think this scenario is nothing but fiction.
Solomon had a relatively simple moral case to judge : the mother was the one who preferred having the child alive with another woman than a dead child. His genius was the trick he used (threatening to cut the child in two parts) to determine which of the two women was deserving the child. But the child was a new born, not a 10 yrs old !
I know a case, a new born abducted from a clinic by a woman. When found, the little girl was 2 years old, she was adored by grand parents, aunts and uncles who thought she was theirs. Her biological parents, a very young couple, had just had a new baby... It was a drama. They got help and a sort of modus vivendi was found : the little girl had two families, and still has.