Yes, this legislation WAS intended to do that.
Suppose, in the event of an apparent stillborn baby - regardless of the stage of development, the doctors are required to make efforts to resuscitate it. What's so unreasonable about that? It's not like the umbilical cord remains connected...