Ive seen many cases where HR stalls hiring until the most qualified candidates move on, prefilter insufficiency "diverse" candidates from the pool presented to teams, or implement internal quotas to meet external funding or contract requirements.
Not to mention the actual external requirements for "diversity" from public tender process, government backed funding bodies, and politically protected mega wealthy.