This is the minimal working example for https://stackoverflow.com/q/68527631/873282. Another solution was chosen - see JabRef/jabref#7929 for the code.