Rajanew, a website very close to Ahmadinejad, writes,

While the diplomatic pressure from Iran on UK has balanced the media pressure from the West, we have received news that the government is very keen to keep the invader soldiers and to not to release them. A source in the government told our reporter that the captured soldiers will not be released until official apology is stated and that they promise to not to commit such actions ever. The same source stated that the captured soldiers are transferred to Tehran and are still in the custody of the armed forces, and not the government. It should be emphasized that the arrested soldiers must be tried in Iran and the verdict should be carried out afterwards. Given that they were armed at the time of arrest, if it is proved that they performed an intentional entrance and if they get convicted of espionage, the verdict could be very harsh.

Personally, I think this could be what the US was so looking for.