Yes, we were told the kitten was female and the girls named her Morticia from the adam's family because she was all black. About a month or so later, we noticed "she" was developing testicles. The kitten was renamed Moe and affectionately called Moey.
When I as a boy I had two white mice that I bought from a pet shop. The shop-keeper told me they were both boys so I called them Micky and Ricky. Six weeks later, Ricky had babies.
I named a baby chick who turned out to be a rooster "Henrietta", at least it was an easy change to "Henry".
When I was five, I named my parakeet "Beautiful", only to find out years later that it was a male.