Chaos erupted after a law was approved "protecting" children from the promotion or depiction of homosexuality.