cops in cali can search whatever they want in your car. its not considered an "illegal search" cause those damn drug dealers.
i suggest you throw everything back to stock and bite the bullet. you are not the first one the cop screwed over so dont fight it