Retaking a course but the exams are exactly the same as last year's
If a student is allowed to register for a class as a "new registration" as opposed to a resit and the student attends the class and does the work, the student deserves to be given a fair evaluation. While reusing assignments and examination materials is not optimal, it happens. Not wanting to (re-)evaluate a student on reused assignments seems reasonable. I would expect the instructor and department chair (or teaching chair) to work with you to resolve the issue. making you withdraw from the class seems to be an unreasonable solution.