I am reading the book "Vocabulary for Writing at University" by Jeanne Godfrey and I came across a sentence that I have had a hard time to understand:
This principle of removing people who harm society is a generally agreed function of prisons, as is the punishment such denial of freedom constitutes.
I think this sentence is trying to say "denial of freedom serves as a punishment", but why would the author express it in this way? And why is that the verb "constitutes" goes to the end of the sentence without an object? Is it common to write in this way?