Legally, a license is applicable in any way the provider of the item with the license deems it to be. Unless there's a law/ruling in a relevant jurisdiction that explicitly states otherwise.
"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?
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.