You could consider a DNA test from somewhere like this:
https://iqbirdtesting.com/
If the chick is female, you can stop worrying.
If the chick is male, maybe ask if they will exchange at a younger age with a DNA test result. (They might say no, but you don't have much to lose by asking.)
I am...