Why it is even accepted that pardons can be issued before conviction?

Yes, this also seems bonkers to me.