Cadbury has won a temporary court injunction in Ireland against an electricians blockade at its Coolock manufacturing site.