The United Nations criticized the U.S. Supreme Court ruling