No, foamers aren't like, say plumbers or electricians. I am not sure of your codes where you are but up here some code violations have to be corrected
where they impact on safety for example, an electrician has to rewire a plug if that plug is not currently up to code and regardless if the HO asked him to or not (I mean he couldn't just put a plug on bad wiring). But in the case of a foamer, I say that the code is a minimum guideline and not considered violated if not met. The foamer will spray whatever you want so if R38 can't be met in the space provided, he'll do what he can.
Inspectors have enough to do without being a Big Brother. "Live in ND and want R12 in your ceiling, do ya?"