If you are a resident I see no reason why you would mind being asked to show your ID wether in or out of the pool or court.
But it has to be done consistently at all village pools and pickleball courts as well.
I don’t mind paying my fair share as long as I have access to what I’m paying for…