The justice secretary says measures are required to prevent prison capacity being reached in November.