Only security council resolutions are legal and binding: "General Assembly resolutions contain decisions and recommendations adopted by the member nations of the General Assembly. These resolutions are not intended to be legally binding on the General Assembly's independent member nations. Consequently, a nation's own government must accept a General Assembly resolution before it can become binding upon that nation. "
Judge orders Jerusalem Gay Pride attacker to undergo psychiatric evaluation (Haaretz)
from the article: Between prisoners and captives