(2) Canal Zone. This Code is applicable in the Canal Zone as provided in the Canal Zone Code. It is also applicable, as there provided, to the corridor over which the United States exercises jurisdiction pursuant to the provisions of Article IX of the General Treaty of Friendship and Cooperation between the United States of America and the Republic of Panama, signed March 2, 1936, to the extent that such application to the corridor is consistent with the nature of the rights of the United States in the corridor as provided by treaty.