Tasmania is set to become the first state in the country to make gender optional on birth certificates. The controversial legislation was pushed through the Upper House on Thursday night, in a move praised by LGBT advocates. People aged 16 or over will have the choice to remove or change their gender, without parental consent, as long as they undergo counselling.

Tasmania is poised to become the first Australian jurisdiction to make gender optional on birth certificates after landmark legislation passed an upper-house milestone.

Amendments to the controversial bill were finalised after a marathon three-day debate concluded on Thursday night.

The legislation allows 16-year-olds to change their registered gender via a statutory declaration without permission of their parents.

It also removes the requirement for transgender people to have sexual reassignment surgery in order to have their new gender recognised. The reforms were attached to legislation bringing Tasmania into line with national same-sex laws.

“I congratulate those upper-house members who put people before politics and who stood up for equality and inclusion,” Tasmanian transgender rights activist Martine Delaney said.

“When historians come to write about how Tasmania adopted the best transgender laws in the nation, and the world, they will say the quietest voices spoke the loudest.” The legislation won’t become law until a third reading in the upper house next week.

The bill will then return to Tasmania’s lower house for the final tick of approval.

The reforms, brought forward by the state’s Labor opposition and Greens, passed the lower house late last year when rogue Liberal Speaker Sue Hickey crossed the floor.

The state government has labelled the legislation “deeply flawed” and lacking in consultation.

“(We) have strong concerns about the unintended legal consequences of the amendments,” Liberal MLC (Member of Legislative Council) Leonie Hiscutt said.

Prime Minister Scott Morrison last year labelled the push to remove gender from birth certificates as “ridiculous”, while the Australian Christian Lobby has said the removal of gender on birth certificates was ignoring biological truths.