The passenger ship Queen Mary II was safely guided into port by the harbour pilot after the local ferry had crossed the vessel's path.