An Alaska court rejected a serial sex offender’s appeal — which was based on his argument that he never consented to prosecution.

Eugene John Bourdon filed a 50-page petition three years ago saying his 2000 conviction on four counts of second-degree sex abuse of a minor should be overturned because he is a “sovereign citizen” and immune from prosecution, reported the Juneau Empire.

The 58-year-old Bourdon argued that “absent his consent, the state of Alaska has no power to enforce its criminal laws against him.”

A superior court rejected that argument, and Bourdon filed a complaint with the state appeals court, which issued its decision Friday.

Bourdon has an extensive history of sex assault — including crimes against children.

He was convicted in 1986 of attempted sexual assault after trying to grab two girls walking home from their Sitka middle school.

Bourdon was convicted in 2011, after his release from prison on the child sex abuse case that he later appealed, of “open lewdness” for following two girls around Walmart, where he took their pictures and masturbated in store aisles.

He was arrested three years later for following children around Fred Meyer and taking their photos.

Bourdon was sentenced last year to one year in prison after prosecutors said he purposefully chose not to register his new address with the state’s sex offender registry after his release from a Juneau halfway house.

The sentencing judge found Bourdon, whose record of sexually predatory behavior dates to the 1970s, to be a worst offender and sentenced him to the maximum one year in prison for failing to register.