CAC ruling on union recognition quashed