RTC-specific functionality, such as calibration or alarm output, are in most if not all STM32 bound to the PC13 pin, making PC13 unusable for other functions (GPIO). However, in some STM32, there is a possibility to remap these functions to a different pin - namely, PB2. This redirection has its limitations, e.g. PB2 is not functional in VBAT mode.
There may be reasons, however, to perform this remap, for example to avoid the issues related to PC13's coupling to LSE, or to have the RTC functionality brought out to a pin which does not have the PC13's output current limitation.
In the lower-end 'L4xx sub-family ('L41x, 'L43x, 'L451), due to a silicon bug, when this remap is on (by setting RTC_OR.RTC_OUT_RMP), PC13 still remains to be occupied by RTC and is switched to output.
This bug has been reported by user Piranha, and after a couple of years it also got acknowledged by ST in the form of the RTC_OUT redirection to PB2 does not release PC13 erratum.