How do extraditions work between countries with different law contexts?
<blockquote>
<p>As part of an international investigation between Morocco and the FBI, the 21-year-old Frenchman was arrested and jailed in Morocco. He is wanted by the United States for his alleged involvement in cybercrime against companies, some of which are American.</p>
</blockquote>
<p><em>source: <a href="https://presstories.com/2022/07/30/a-frenchman-arrested-for-cybercrime-faces-116-years-in-prison-in-the-us/" rel="nofollow noreferrer">The Press Stories</a></em></p>
<p>This led me to wonder about extraditions when law differs between countries.</p>
<p>Imagine a country A where activity X is illegal. A person P has done this action against the interests of country A. This person is a national of C.</p>
<p>Country A wants to prosecute P and requests extradition. What happens when P is in a third country B?</p>
<ul>
<li>will C, on request, have a &quot;right of priority&quot; to request extradition and judge P at home?</li>
<li>what happens if the law in B does not perceive X as illegal?</li>
</ul>
<p>I am interested in the purely legal aspect, not &quot;behind the scene&quot; activities where A can bully B or C, or B does not have extradition arrangements with A.</p>

<p>In general the act must be a crime in both countries for an extradition to proceed, but the extradition treaty between countries A and B likely has more specific provisions as well.</p>
<p>C's involvement is generally limited to consular assistance, but there have been instances where countries have offered to incarcerate their citizens for convictions in other countries.  The country of citizenship certainly does not have priority to extradite or try its citizens, and it is unlikely that the country seeking to prosecute would have much interest in another country taking over the case.</p>

extradition