It's been done many times. The UK grabbed Iceland in WWII, providing a base for transfer of US aircraft. Germany took a trip through Belgium and got the Swiss to allow trains through.
When things get serious, thoughts like "I would never do such a thing!" are quickly cast aside.