These islands were the only British soil occupied by German troops in World War II . Jersey is a British crown dependency but is not part of the UK or of the European Union .