Judge says ensuring every person’s right to live with dignity, guaranteed under the Constitution, should be a priority for the government