candidate: The UN Security Council the next day adopted Resolution 216 , which denounced the declaration of independence as illegal and racist , and called on all states to refuse recognition and assistance to the Rhodesian government .