"Having considered an appeal of the Russian defense, the National Court of Spain decided to... release him on a 200,000-euro [$285,000] bail pending trial," an embassy official said citing a legal source.
The Moscow lawyer was detained by police in Spain on November 22 last year in a major crackdown on the Russian and Georgian mafias operating in the country.
Spanish police then said Gofstein had arrived from Moscow to meet with his client, Zakhar Kalashov, in a jail near Madrid. Police also said Kalashov was thought to be a Georgian mafia chief.
Gofstein and another eight people who were arrested during the special police operation are thought to have laundered the crime group's funds through legal businesses in Spain, local police said. The first phase of the operation yielded 31 arrests in Spain in June 2005.