I don’t think crossing the centerline is a big deal, except that in this case there was someone (the OP) in the other lane.
I cross the center all the time on certain curvy roads (on my bike and in my car) if I have good visibility, but I would not do so if there was anyone in the their lane, even a cyclist over to the side.