In the EU, reverse engineering is allowed, but only for the purpose of making something that interoperates with the product you're reverse engineering, and does not compete with that product.
https://en.wikipedia.org/wiki/SAS_Institute_Inc_v_World_Prog...
Notably only the way WPL produces manuals that are too similar to SAS has been upheld.
http://eur-lex.europa.eu/legal-content/EN/TXT/?qid=143505754...
Article 5 and Article 6 are the most interesting when it comes to reverse engineering, with 5 allowing to study an application while using it legally and breaking some protected rights for bug fixes and 6 allowing decompilation for some purposes.
https://en.wikipedia.org/wiki/SAS_Institute_Inc_v_World_Prog...
Does this help you?
https://en.wikipedia.org/wiki/Reverse_engineering#European_U...
I think you'd want to know about the case law before leaning too heavily on that, though.