Thank you for the thorough response: I have created a bug report, and shared all your explanations in there as well as linked this thread to it.
Here it is for reference: UNO R4 WiFi issue and IS_PIN_PWM variable declaration conflict · Issue #167 · firmata/ConfigurableFirmata · GitHub
Thank you and I hope they can fix this bug in a more permanent and cleaner fashion.