Before Vatican II (and liturgical music changes) were the likes of Bach’s “St. Matthew’s Passion” and Handel’s “Messiah” preformed in Catholic churches or by Catholic choirs? These great composers were both Protestant, and though their music is beautiful and deeply moving, something tells me that the Church may have blacklisted their music in Catholic parts of Germany and other places as “heretical Protestant service music”
Well, for one, oratorios were never intended for mass by the composer - whether the composer was Catholic or Protestant. It was religious music that could be done in performance in secular venues or as a sacred music concert, etc. I have never heard the Messiah performed during mass, although for concerts, I have.
The same for some musical settings of masses. There were composers (Catholic, Protestant and Jewish) who wrote masses, not actually intending it to be done during mass, but just to follow the format of a mass and to be done during concert - again either in a secular or sacred venue. One example would be Beethoven’s “Missa Solemnis”.
Bach’s music was always played in both Catholic and Protestant churches. I’m not certain of all his sacred music, but I do know his organ music was. Mozart’s music was sometimes not played - not because of his connections with freemasonry - but because some found his music too joyful for mass. Example - The archbishop of Salzburg and him didn’t get along and he did not want Mozart’s music at mass partly because he didn’t like Mozart on a personal level and partly because he found some of his music inappropriate. The bishop in Vienna, though, thought his music was absolutely appropriate and allowed for mass. And many, if not most, Catholic men in that area at that time were freemasons doing it more so for connections reasons. When you read letters by Mozart, he was actually a very devout man and stayed with the Catholic Church, and like many Catholics at the time (it wasn’t that long after freemasonry was decried by the Church) most lower level masons really didn’t see the big deal about it. They looked at it as a business club in many ways for connections. That’s what “Die Zauberflote” was all about - just poking fun at all of it. Easy for us to know differently with 20/20 vision.
With the exception of that blacklist in the 1920s or so, which wasn’t put out by the Vatican, I don’t know of any actual, official blacklist of compositions by Protestant composers.