How does Unity's light baking system determine which rendering path to use?

When baking shadows using any of Unity’s built-in shadow baking options, does it make any difference which rendering path is used (aka Forward / Deferred)?

And if DOES make a difference, then can anyone tell me how it detects which rendering path it should use during the bake? Does it look at the tagged “MainCamera” to see which rendering path the camera is using? Or does it look at some kind of setting that’s saved somewhere in the project settings?

Thanks!

rendering path won’t affect the result or the process of shadow baking/lightmapping. The rendering path only will affect how the object inside the game going to draw in the game