Of course, if you are under control of the state in a prison, you're going to have most, if not all of your rights rather severely restricted. If you're just a free citizen, or even legal foreigner that's not the case, and the courts in our nation have recognized that fact many times.
Oxymoron. Court decisions are called opinions for a reason.