At the end of a long day, we had to make a detour to clear passport control before we could land in Gibraltar.