United Nations members voted decisively on Tuesday for a groundbreaking resolution that condemns North Korea for human rights abuses and for the first time recommends the prosecution of its leaders for crimes against humanity at the International Criminal Court.

Outraged and humiliated in a vote that was shown live on the United Nations website, North Korea’s representative called the resolution an insidious plot to destabilize the country by its enemies, notably the United States. The representative, Choe Myong-nam, said the North might conduct more nuclear weapons tests in response.

Mr. Choe, a Foreign Ministry adviser on United Nations and human rights issues, also said the resolution, written by the European Union and Japan and co-sponsored by 62 members, including the United States, was based on a “compilation of groundless political accusations and contradictions.”

Presented at the General Assembly committee that oversees human rights issues, the resolution was the outcome of a devastating report on North Korean repression conducted by a United Nations panel of experts and published in February.