It is perfectly legal for those living in Northern Ireland to fly the Irish Tricolour. Residents there can also hold an Irish passport.
I was over in Ulster in January, and in Republican areas of Belfast I saw a number of Palestinian flags, and in Loyalist areas, the Israeli flag. Work that one out !