TD from Cork takes up Ireland’s highest political office