Charles gets frustrated with pen at Ireland signing ceremony