Large news outlets generally have these sort of obituaries prepared for all relevant heads of state, famous actors or authors, etc.
That’s why occasionally they will declare someone dead who’s very much alive, because the publish flag on the article accidentally got set.