Transgrid contractor Elecnor unlawfully denied the Electrical Trades Union access to 47 migrant workers on Australia’s largest transmission project, a court has found.