Officials said the man did not appear to be targeting Trump or others involved in the trial
A panel of three judges found the pair guilty of performing homosexual activities together and sentenced them to 85 lashes with a cane, Efe news reported.
In a previous court session last week, the judges heard testimony from witnesses who allegedly saw the men engaging in sexual acts together.
The prosecutors had asked that the men receive 80 lashes as punishment but the judges on Wednesday added five more to the sentence.
The pair will be punished in public next week.