A naked, sleepwalking pillhead has won a €10m libel case against his employer in Ireland.