EU declares war on agencies as Ireland's rating gets junk status