Nothing makes you safe from getting sued.
See also: [1]. You could also reverse engineer in a solid jurisdiction.
I ran C&C Generals in Wine on Linux back in the days. More stable than Windows XP.
(as always, IANAL)
Interoperability falls under what gets filtered out in the filtration step of the test.