Authorities at Stuttgart airport temporarily detained a German man Tuesday after he repeatedly told security personnel he had explosives in his underwear.

Police said a full-body search of the 42-year-old did not turn up any explosives. However, Tuifly airline refused to let the man, his wife and daughter board the plane to Egypt where they had planned to have a vacation.

The police said the family would not be refunded for the cost of their trip and could expect a fine of up to 1,000 euros ($1,495 Cdn) and possible additional costs. The names of the man and his family were withheld in accordance with German privacy laws.

The man was apparently making a joke about the failed attempt by a Nigerian man to set off a bomb on a flight from Amsterdam to Detroit on Christmas Day.

Umar Farouk Abdulmutallab, 23, is accused of trying to ignite explosives concealed in his underwear on the Northwest Airlines flight.

With files from The Associated Press