[This question is a quasi-fictional mash-up of some questions we got from some town libraries and a cooperative library system.]
First: I'd like to thank the libraries and the library system who brought up this issue. The questions raised in this submission only materialized because they were committed to careful reading of the law and to doing the right thing.
Second: before answering, I have to set out two caveats.