It would help to know what you put on the customs form. Did you complete all boxes, including reason “returned goods”
I long ago stopped posting to the Republic of Ireland for this reason, they did not seem to look at a Customs Declaration on the back of a package, when the address label covered the front.