The fan is completely independent of the light source and fed through a spur . That is the intention anyway.
it is possible to adapt it to suit your needs though, ie an override from the switched live to keep the fan running if the pir cannot be reactivated by someone in a shower cubicle.