That's really cool actually. I've never heard of something like that before. Good luck hatching the egg, it would be so cool to hatch an egg from a rooster (hen but whatever)!
It's definitely a rooster, the high posture and large tail and comb show that, and I agree that it might be a hen squeezing through. They're actually surprisingly good at sneaking!