A court has approved the performance of an autopsy on the body of the baby who drowned in a whirlpool bath in Ashdod.