The first refers to a past possible offense; the second refers to a future possible offense. It has nothing to do with the present perfect, however, since simple past there would serve the same time and purpose.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.