The Adventures of Swiss Family Robinson
Invasion, Part 1
S1 E7:
Notorious pirate Samuel Scaggs and band land on the island and commandeer the Robinsons' tree-house home; as the family prepare to celebrate July 4, Scaggs demands David Robinson renounce his loyalty to America or be killed.