Both is fine.

Prosecute, and get rid of the loopholes that made it necessary to do so.