The AI battlefields - How to navigate and overcome the legal challenges