This is not a new phenomenon. It is quite common, and has been for decades, to to publish a job opening for a position that has already effectively been filled in order to nominally fulfill various legal and bureaucratic requirements to provide plausible deniability to senior management that the "best candidate" was hired.