"by using this lib you agree to give up your firstborn child to adoption". In any jurisdiction do we have to have an explicit law against sending your child to adoption? Because you can't make it illegal for people to put children to adoption, this is regular practice, so a license could enforce this?
If someone gives you conditions to which you don't agree, maybe don't use that lib?
Do you think you have some moral right to use the library and violate conditions to which you do not agree? Get another library or write your own.
It can try, because you agreed by using the software. And if the owner/maintained tries, it'll be up to the lawyers and judge(s) to determine the way forward. Maybe it'll be found to be too onerous a request or something. But don't push the system; it might push back in a way that has repercussions for decades to come.