Sevier, from Florida, said that he has fallen in love with his pornography-laden MacBook.

“Over time, I began preferring sex with my computer over sex with real women,” he told a court in Florida, Fox 13 reported.

When he was refused a marriage licence for him and his “machine spouse” in Florida, Sevier took his claim to Utah.

His 50-page claim filed in Utah was reported as an attempt to stop a gay marriage case in federal court.

Sevier argues that allowing gays to marry but denying him the same right amounts to discrimination.

“We are in different classes of sexual orientation,” he told the court in Utah.

In his motion he stated: “The exclusion from marriage to a machine denies myself a dignity and status of immense import.”

Sevier cited legal precedents around the world — including a case where a woman married a dolphin and a man in China who wed a cardboard cut-out of himself.

“Allowing my marriage to go forward will not adversely impact the fertility rate any more or less than a same sex couples,” said Sevier, who describes himself as “a former judge advocate and combat veteran.”

“If there is a risk that is posed to traditional marriage and children, both man-man couples and man-machine couples pose it equally.

“In considering the equal protection clause, there are no fewer policy reasons for preventing man-machine couples from marrying than there are for same-sex couples.”