I believe the basketball courts and the gymnastics area are both operated by the city's parks and rec department.
I have not seen basketball courts when I am there. You can always call to see.
Call city of Vacaville recreation department and ask, they are the ones that control it.
Thanks! Your answer is awaiting moderation.