There are certainly places in Dublin where you might be more likely to get yourself robbed in, but beaten up for drinking alcohol or walking as a white person with a Muslim girl? Nowhere.
And where are you suggesting such a place does exist? In Sweden? If you have any links to reports of incidents like you're describing I'd love to see them.
And I can anecdotally state that I've witnessed attacks first hand in Muslim areas in both Belgium and France due to ideological reasons (e.g. a girl in my party was assaulted because she touched a man's arm and apparently shouldn't have). I've lived in the worst parts of Dublin and yeah, problems can arise, but they're non-ideological ones. Which means that you can avoid them by using general street smarts.