The Bike needs to "know" which tires it is on to give out accurate TPMS readings. Countrary to popular belief, the ABS and Traction Control will still work because it uses real-time sensor data to read riding conditions, e.g. to counter wheelspin the front and rear wheel RPMs are compared. There might be minor inaccuracies du to a different outer cirumference but nothing major, and nothing that should give you any issues on a dirt track. Another thing the Harley Techs do is limit your bike's top speed if the anakee wilds are installed because they aren't meant for high speed riding.
If you want to swap between two sets of wheels i'd keep the bike tuned to the street tires officially, as you should be able to ignore wrong pressure readings and probably will have TC and ABS turned off anyways while riding dirt track. This way you can drive safely and legally on the street, get up to highway speeds without any issue, and install the knobbys for proper dirt use. I'm not sure how this looks from the legal perspective, as laws differ between every state and country, but if the bike isn't set up for the tires i'd probably avoid riding them on the street to avoid trouble with the law or your insurance, if that's an option.