On initiating I²C communication, status register SR1 gets reset immediatelly
Most bits in status register SR1 will get cleared when they have been set to 1 and the MCU reads them as being set to 1, so you don't have to do anything at all to clear them. This behaviour is explained in the manual.