Had this happen once, many years ago in a jr. high girls game. Near the end of the first half, I think, handed to a girl for a free throw.
"This is a boy's ball."
Me: "Surely not."
She was right.
If this is the worst mistake you ever make, you should be thrilled.