Complex sentence: A passport does not necessarily grant the passport holder entry into another country, nor to consular protection while abroad or any other privileges, such as immunity from arrest or prison sentences; those rights and privileges, if and when applicable, arise from international treaties.
Split into simpler sentences: A passport does not necessarily grant the passport holder entry into any other country, nor to consular protection while abroad or other privileges, such as immunity from arrest or prosecution. Those rights and privileges, if and when applicable, arise from international treaties.