It's highly unlikely that the Whitehall mandarinate is going to be willing to give Carwyn Jones a free hand in appointing Dame Gillian's successor anyway, which means there is always the potential for the UK Civil Service to install one of their own to keep the First Minister in order, as they might see it, in terms of his attacks on the UK Government.
BBC: The hunt for a new 'Sir Humphrey'