You're asking a court to do something different than apply existing laws to a possibly new situation. That seems like a weird ask.
I agree the apply-by-analogy approach makes sense of laws cannot be revised. But my understanding is that most legislatures are permitted to revise or repeal laws to adapt to new circumstances.
1: https://www.gesetze-im-internet.de/englisch_gg/englisch_gg.h...
At least, if the separation of powers is still intact.