A similar situation occurred in the U.S. when NASA acquired land to construct the John C. Stennis Space Center (SSC), a rocket testing facility in Hancock County, Mississippi (on the Mississippi side of the Pearl River, which is the Mississippi-Louisiana state line).
Sometimes the town might cease to officially exist, but the physical infrastructure remains.