Is a general Indemnification rule related to IP enforcable in Germany?
<p>I, living in Germany, am developing an app based on the API of a company that has to following rules in their Legal section:</p>
<blockquote>
<p>... don't want to get sued. Therefore, you agree that we can use, copy, modify, distribute, and make derivative works of your Project in any form, on a royalty-free, non-exclusive, irrevocable, transferable, sub-licensable, worldwide basis, for any purpose and without having to pay you anything, obtain your approval, or give you credit.</p>
<p>You can't use a third party’s IP in your Project if doing so would violate their rights. We understand that besides our IP, you might want to incorporate someone else’s IP in your Project, such as a cool song or some other artwork. If you’re using someone else’s music, artwork or other IP, you need to have their permission before you put it into your Project. If we find out that your Project is using a third person’s IP without their permission, we may require you to take down and stop distributing your Project.</p>
<p>Our lawyers don’t want us to get sued or be put at risk by your Project. If we, or our partners or affiliates, have any kind of legal claim or other lawsuit brought against us that is related to your Project, you’ll pay our legal fees and costs related to this lawsuit, including our attorney’s fees, and any settlement or judgment amount that we have to pay as a result.
...</p>
</blockquote>
<hr />
<p>The following scenario comes to my mind as a problem:</p>
<p>I create the app, use the company's IP and also make heavy use of a third party's library/IP <strong>with</strong> that party's <strong>consent</strong>. The company might end up redistributing my app, but the third party, who doesn't have an agreement with them, <strong>doesn't want them to</strong>.</p>
<p>In this case (which I think complies to all agreements up to now), would I have to pay for the attorney fees for the (possible) lawsuit of the third party against the company? In other words, would it be legal that the company holds me accountable for <strong>them not getting</strong> the third party's agreement to using their IP?</p>

<blockquote>
  <p>You can't use a third party’s IP in your Project if doing so would violate their rights.</p>
</blockquote>

<p>If the third-party's licence to you did not allow you to give permission for redistribution that matchs the second-party's requirement then you have violated the third-party's rights and the second-party could rely on the indemnity you have given.</p>

intellectual-property software germany