Let's leave Palestinians for a second. Israeli settler living in occupied territories can vote in Israeli elections. Israeli living in Germany cannot. Both are living abroad, but have different laws applied to them. Having different legal systems for different groups of population is apartheid.