An ironic situation is when something happens in a way that is unexpected, contrary to what is expected, or the opposite of what was intended, often resulting in a humorous or unusual outcome. Full definition
We commiserated over how ironic our situations were and how maybe we should just trade babies! (modernmom.com)
Yet everything is played completely straight, without the merest trace of a smirk, save for some occasionally ironic situations that provide welcome comic relief. (qwipster.net)
I find myself in the ironic situation that I would be delighted if one of the things I have been defending throughout my career turns out to be wrong. (rachelheldevans.com)