rear, your car is testing what the o2 level is coming out of the cats, so when you take your cats off... you put the mils in and those bad boys tell your car eh, **** looks good.
...and that's probably why you are getting the check engine light/code. Gotta fix that leak - try loosening the bolts and adjusting it back together again.