'Useless': unions blast casual switch law