" . . . It's the window that has view settings, not the folder. If you don't keep this in mind, you can easily be misled into thinking your view settings didn't "take" . . .
-------------------------
All I know is that the script above achieved the goal with no unwanted behaviours within either the Finder Windows or the folders/subfolders.
I will let you all know if my computer starts to behave badly from today's actions.