When you loot Mardios from a locked crate do you get him as an egg?

Or...

Do you get him as a pet the first time you loot him, eggs afterwards..

Just trying to solve a tiny disagreement here...