The Supreme Court warned the Union government of contempt if it fails to allow a 15-year-old Delhi girl to terminate her 28-week pregnancy at AIIMS.