Alas, this dude's epic 'gender reveal' fail was also sadly illegal

Who could have known?

Pregnant couple.

In case you accidentally missed, like... every Pinterest post in the last six years: gender reveals are A Thing. You know, cutting a cake and the inside either being blue (for boys, obviously) or pink (for girls, obviously), letting all your gathered friends know what gender your baby will be? Yeah. That.

Anyway, like anything Pinterest-born, these gender reveals have slowly begun to get more and more excessive: the latest trend being that dudes blow up a box of coloured powder with a gun to reveal which child variety they will be expecting.

We're not kidding. Please look at the below photos:

Some poor dude in Nebraska was obviously of the same mind, but, unfortunately for his exploding dreams, his plan didn't go to... plan.

The 26-year-old Lincoln, Nebraska, native executed his explosion (blue for a boy! Congratulations!) but was soon-after issued a ticket for setting off an explosion without a permit, which carries a fine of up to $1,000 (or $1,300 AUD) or a year in jail, after town locals rang police, thinking a car had exploded.

A bomb squad representative elaborated on the event, saying that, although purchasing explosive devices is legal, setting them off is not.

The expectant father clearly did not know it was illegal and said so to the Omaha World-Herald: “People need to follow the proper protocol. We never knew, and we’ve shot these for years. If you can go to a store and buy it, how in the world can you know it’s illegal?”

He has since taken to Facebook to apologise for his actions, writing, “I would like to apologize for all of the confusion."

“This was just our way of announcing what gender our baby was.”