But the occupation of Berlin could only be ended by a quadripartite ( four power ) agreement , so Berlin remained an occupied territory under the formal control of all the allies .
However , because the occupation of Berlin could only be ended by a quadripartite agreement , Berlin remained an occupied territory under the formal sovereignty of the allies .