Illegal or not, some time ago, when I found a bat hobbling past the workshop with one wing entangled in a thick spider web, I unhooked the web, and then liberated it, a few hundred yards away, where there is a bat colony, in trees.
It didn’t seem to believe its luck; hopped a few feet, then a short flight, before it took off and flew away at full speed.
Howard