An aircraft engineer who surgically removed the testicle of a man in a NSW motel room has avoided jail.
Allan George Matthews, 58, was placed on a five-year good behaviour bond on Friday at Port Macquarie District Court for removing the testicle of a man who wanted to change gender in 2016.
Matthews performed the procedure at a Port Macquarie motel room after answering an online ad from the victim calling for help to transition gender.
A police investigation began when the younger man, aged 53, presented to hospital a few weeks after the procedure seeking treatment for an infected wound.
The court heard the victim had, from 2013, posted on social media about his desire to transition gender. He said he needed help.
Matthews eventually made contact with the man and the two exchanged a series of text messages.
It was alleged Matthews said he was medically trained and had an extensive medical kit and would be "happy to assist you on your path".
The two arranged to meet in a Port Macquarie motel room for the procedure in mid-May 2016.
After the operation, the two men exchanged a series of text messages regarding the wound seeping.
A fortnight after the removal, the man saw his GP, who recommended he attend hospital.
Staff there realised the procedure hadn't been performed by a qualified person and informed the police.
Judge Clive Jeffreys said he believed the testicle procedure was performed with the consent of the complainant and out of genuine motivation to help with his gender transition.
Matthews' risk of re-offending was low, the court was told.