HeresMyAccount: Please keep in mind that I don't actually have a Macintosh or MacOS to test the software, which is why I need to be certain that it will run EXACTLY the same on MacOS as on Windows
At this point it's completely unrealistic.
First of all I'm not aware of any tech that would allow you to compile a Mac app on Windows (nope for Java, nope for Electron, nope for Python).
Second, in practice it's impossible to expect a mac app to behave 100% same as on windows. Maybe if it's a mature app, that had hundreds of releases and already stabilized on Mac and dealt with OS specific problems, you could get away with limited QA for Mac releases, but to expect to make "blind" releases without seeing the app run on a mac (skipping the simple fact, that without a mac you can't compile a native app).
The ONLY tech that would fit your requirements is a web app, because it runs in the browser not on the OS level, so the browser manufacturers are taking the responsibility for cross-platform compatibility.