People's Park in Berkeley, which since the Vietnam War has been a site for protests and counterculture movements, can be converted into student housing for the University of California, the state Supreme Court ruled Thursday, capping a yearslong legal fight over the landmark.