Labour minister Matthew Cheung warns that the code will be turned into legislation if agencies fail to comply with its requirements