he had taken every precaution , but by some devilry or the astuteness of rodrigo 's ubiquitous spies , his arrival did not pass unnoticed , and he was challenged by a squad of borgia guards at the gates to the wharfs .