this is an Irish expression of disbelief and shock. maybe Blimey O'Reilly was a famous Irish bloke who had extravagently big trousers. we may never know the truth. the fact is that a) its Irish and b) its Irish. I rest my case.
as in "Blimey O'Reilly's trousers"