In 1819, the Bey agreed to quit with finality corsair raids. Also the Bey agreed with France to terminate his revenue policy whereby government agents dominated foreign trade by monopolizing the export of Tunisian goods; this change in policy opened the country to international commercial firms. In 1830 the Bey accepted to enforce in Tunisia treaties, in which European merchants enjoyed extraterritorial privileges, including the right to have their resident consuls act as the judge in legal cases involving their national's civil obligations.
In 1819, the Bey agreed to permanently stop corsair attacks. Concurrently, he collaborated with France to end his policy of government agents controlling foreign trade by monopolizing Tunisian exports; this change facilitated international commercial firms' access to Tunisia. In 1830, the Bey consented to implement treaties in Tunisia that provided European merchants extraterritorial rights and allowed resident consuls to serve as judges in civil cases involving their nationals.