'Trojan Horse' code of practice shelved