That's a myth. Theres nothing illegal about modifying the exhaust as long as it is within certain decibal levels and has retained the emissions devices (cat, EGR, etc.). Your local laws may vary, but statewide via CHP standards that's pretty much the law. You can read up on it at the CHP website.