He out his dick in my ass by accident..or was it?

So I was having sex with my bf last night, I think it was early morning maybe 12-1am but anyway we was in doggy style and he was going pretty hard, deep and fast then slowed down where he was taking it out pushing it in slowly taking it out and carrying that on...I didn't realise at first because I was so turned on but he put it in the wrong hole and his whole dick just went in😧it did hurt quite a bit and I pulled back and told him baby that was my ass😂🍑he apologised.

So my question is can a guy accidentally put their dick in the wrong hole during doggy, since they have full view of down there so should know what hole they're putting it in??!