Environment behind window for interior renderings
If i understood you right (correct me if i am wrong) you do not want to see the HDRI through the windows, but just use the lights of it, right?
you can do that so: just tap on transparent