as far as i know you can only get a ticket for the exhaust being too loud, but he probably just pulled you over because he was suspicious of something and needed a excuse to pull you over