The answer is definitely yes, hehe, but it may not be fully refunded, and a small part of the library management fee will be refunded.
This statement is illegal. You might as well complain directly to the person in charge of the lending department or the librarian, and ask them to take out the basis for canceling the library card after three years.