The AI will continue to fire on targets acquired before peace offers were accepted. Breaking the targeting by cloak or distance will refresh the AI to the proper behavior.
Seems to only apply to targets acquired and maintained until the peace setting is finalized. The ai does not refresh on diplomatic relations status changes.