[(1)] No court shall take cognizance of any offence—
(i) under Chapter III without the previous sanction of the Central Government or any officer authorised by the Central Government in this behalf;
(ii) under Chapter IV and VI without the previous sanction of the Central Government or, as the case may be, the State Government, and [if] such offence is committed against the Government of a foreign country without the previous sanction of the Central Government.