This would make sense, because treason is a crime the direct or indirect purpose of which is the delivery, in whole or in part, of the country to a foreign power, or to pave the way for the enemy to obtain dominion over the national territory (Albert, The Revised Penal Code, citing 3 Groizard, 14); and, very evidently, a territory already under occupation can no longer be delivered.