I remember there is a hard limit which can be set by the administrator, and a soft limit which is set by the user. If the soft limit is stronger than the hard limit, the hard limit value is taken.
I'm not sure this is valid for any shell though, I only know it from bash.