Hussein Dey after the fan incident realizes, he is now at war with France and orders a military buildup by fortifying the city of Algiers with heavy guns, building several ships similar to the Korean Trurtle Ships that could wade into any blockade fleet and come out still afloat if not victorius, and asking for help.
Due to a combination of these actions, the French Invasion fails and the Barbary pirates resume their trade.
How does this effect Mediterranean strategy and politics of the mid 1800s.