A little boy will eventually die from the severe injuries that were inflicted upon him, a court has heard.