Adrian Annus and Robert Fazekas have been banned for two years by the Hungarian athletics federation for doping violations at the Olympic Games.
Hammer thrower Annus and discus thrower Fazekas have both appealed to the Court of Arbitration for Sport against the removal of their gold medals.
Annus was stripped of his title after failing to submit to a follow-up drugs test in Athens.
Fazekas refused to provide a complete post-competition urine sample.
"The athletes will appeal this ruling, the disciplinary committee has failed to take into consideration several significant errors made during the process," said Gabor Pal, the athletes' spokesman.
"They never had a positive drug test."
Games chiefs said Annus passed drugs tests before and after his event but found evidence to suggest the samples were from different athletes.
The International Olympic Commitee said that although both samples came back clean, the analysis "indicated possible tampering".
Annus was ordered to take another drugs test after he returned to Hungary, but he failed to show up. He was stripped of the medal at an IOC disciplinary hearing but has so far refused to hand it back.
Japan's Koji Murofushi was promoted to gold in the hammer, Ivan Tikhon of Belarus moved up to silver, and Turkey's Esref Apak was given the bronze.
Fazekas, also lost his Olympic gold medal for refusing to provide a complete urine sample in his post-competition drugs test.