This is a leftover from when there was a global option for transparent shadows, but since it's now per material this makes no sense anymore. Solution found by Olivier Maury. Pull Request: https://projects.blender.org/blender/blender/pulls/117735