Use CRISPR to make a knockout. If you target the origin of the plasmid you can cause it to be lost. You can then insert versions of the plasmid that you have manipulated.
Most natural plasmids are very low copy number, so you can probably just use whatever protocol you are familiar with for doing gene knockouts in xanthomonas. Crispr is fine but so would other procedures be fine as well.