Laws like this exist all over the world. Lots & lots of regulations re adoption.
Not about pro-Islam or anything to do with blasphemy - I think that that is being unfair.
It is about trying to match the child to its culture & looking long into the future when the child is aware and can have a say on matters. & potentially to the death of the child & its spiritual future.
As an example let's assume this child does get adopted by the woman & at some point in the future some DNA or other techie thing comes up that can ID the child & its birth family. The birth family might well be Islamic, yet the child has been reared in a Christian household, in a country such as Indonesia where religion is very important this could create a huge turmoil for the child.
Conversely you might argue that the child might be ID-ed as from a Christian birth family yet has been reared as moslem... the law is stepping in to support this because Islam is the majority religion in the area the child will live, so the child is less likely to face turmoil and trauma during their growth as they will be a part of a majority rather than a minority. (gosh I hope that makes sense... so I can see why they do these things, yet the love and warmth and adoptive-family support factors always seem to be pushed down the list of priorities in such matters- grr)
Its a very fine line globally & very hard to legislate on as obviously the subject matter is all about individuals & there are not enough studies to inform the powers that be on what is going to work.
So change is hard to push through- especially on matters that are sensitive, such as culture, religion & sexuality...
I can't understand why Indonesia has so many orphanages yet barely any offical, registered & trained foster parents.
I spent years fostering & I would like to think it has an enormously positive impact on the children providing the basics of food shelter emotional warmth & access to support & education systems... whilst maintaining the child's identity & connection with birth family (where possible).
UN regulations: "
The UN Declaration on Social and Legal Principles relating to the Protection and Welfare of Children, with Special Reference to Foster Placement and Adoption Nationally and Internationally was adopted by General Assembly resolution 41/85 of 3 December 1986. The UN Declaration Relating to the Welfare of Children reaffirms principle 6 of the Declaration of the Rights of the Child, according to which, "The child shall, wherever possible, grow up in the care and under the responsibility of his parents and, in any case, in an atmosphere of affection and of moral and material security."
[33] Article 17 affirms the principle of subsidiarity in these terms: "If a child cannot be placed in a foster or an adoptive family or cannot in any suitable manner be cared for in the country of origin, intercountry adoption may be considered as an alternative means of providing the child with a family." Article 24 requires Member States to consider the child's cultural and religious background and interest. The Declaration encourages States not to hurry the adoptive process. Article 15 states, "Sufficient time and adequate counselling should be given to the child's own parents, the prospective adoptive parents and, as appropriate, the child in order to reach a decision on the child's future." "
http://www.pbs.org/newshour/rundown/texas-adoption-jews-gays-muslims/
http://www.repository.law.indiana.edu/cgi/viewcontent.cgi?article=2461&context=ilj
Whether we like it or not religion plays a massive part in law making and other factors of life globally.