Mali's court has sentenced a French intelligence agent holding diplomatic status to 20 years in prison for charges related to undermining state security, marking a sharp escalation in tensions between the junta-controlled West African nation and France, its former colonial power.