I live in Norway, but I found just about the exact same rule allowing reverse engineering for developing interoperable software in the Norwegian law: https://lovdata.no/dokument/NL/lov/1961-05-12-2/KAPITTEL_3-7#§39i
That makes this effort a whole lot more interesting to me