According to court documents, Gallegos chatted with the agent on two occasions in 2006.
At some point, Gallegos said he was convinced the person was a gay man posing as a girl because in the past he had arranged meetings with supposed females only to meet a man.
The reason he showed up at the meeting site, was out of curiosity about this person.
Justice Matthew Durrant said he wondered if the case depended on whether or not Gallegos believed this was a minor.
"If a person tells you they're a minor you'd better log off," Durham said.
Taliaferro argued that on the Internet people pose as someone they are not all of the time and that it is difficult to tell who you are actually chatting with.