Immigration officer accused of freeing foreigners in exchange for bribes claims trial