From the records, F-BDQT (the top picture) was always a 502, whereas F-BEJQ was built as a 502 and converted to a 505 later on. To my uneducated eye the donks look the same in both pictures, so I guess they were both 502's at that time.
'QT survives to this day; she was at the rather impressive Musee Aeronautique de Nancy, which had to close after the roof was damaged in the storms of 2000.