I think we are in a time similar to when the CDL first became law. I think that was around 1991 or 1992. Some states, (and NY in particular because I lived there and knew about it) started enforcing the CDL requirements for motorhomes. At the time they would do a traffic stop and if the driver did not have the CDL the coach was effectively parked until a licensed driver was available to move it.
There was a huge outcry and eventually it was clarified that RVs did not require a CDL in NY.
Now, however the states are apparently recognizing the need for a driver license applicable to the big RVs and more states have specific laws relating to them. Your home state that issued your driver license is the state whose laws you must follow regardless of where your rig is licensed or where you live. If you require a CDL or non CDL equivalent and you do not have one when stopped, it is possible you will have your rig towed to a place for storage until you can get a licensed driver to move it for you.