They would only fire on you if no GalCops are present within their scanner range, and would immediately cease fire as soon as the cops show up, ensureing that they maintain their clean status. If you're not alert, you could find yourself with an Offender tag even though you were simply defending yourself.
Without RandomShipNames installed, these guys would be a bit tricky to identify. Normally, an Offender or Fugitive is a fair target, but if it's Clean (it's green...sorry

I would suggest that this small change in behaviour would make some pirates more intelligent, and give them some capabilities that the player already has.