It would be interesting to have an electronic keyboard that watches what you are playing and decides when you press the D-sharp/E-flat key, which note it should play.
Some old style organs that are not "well-tempered" have split keys for some notes, so that you can choose D# vs Eb (for example), depending what else is going on.
I'm sure I've see on here something that does not just that, but also remembers what it just did so when you play your next notes it doesn't jump to a different tuning.
Could also be exactly the same as "the two", as violinists would also often just play those two at the traditional "piano" pitch, when playing alonside a piano and other such instruments.