Stop in for a cup of coffee

I think the smog check goes beyond just a sniffer here. Mods have to have a CARB # on them. Wouldn't surprise me if it includes checking the ECM for alterations in the tune from OEM settings. Doing the same for motorcicles is just around the corner. Many aftermarket parts people won't ship items that may alter the tune/emissions to Ca now.
Yes the check , checks the tune ID in the ECU for sure. On my 2015 VW TDI, I have a Malone tune, it re-tunes the engine, without affecting the smog settings. Supposed to be invisible. We will see. I will tell you it drives tons better with the tune, especially after the EPA neutered the thing with the big *** law suit/ recall...