Australian politicians are being peppered with requests for free portraits of Queen Elizabeth II after a long-forgotten piece of parliamentary code was brought to public attention earlier this week.

Under this legislative quirk, which has its origins in a 1990 parliamentary act, Australian federal lawmakers are able to give away certain pieces of taxpayer-funded “nationhood material” under a “constituents' request program.”

Australia is a former U.K. colony which, like Canada, New Zealand and a number of other countries, still retains the British monarch as head of state.

The ability to request “nationhood material” — which can also include pictures of the queen’s husband, Prince Philip, flags and recordings of the national anthem — came to light after the publication of a Vice Australia article pointing out the obscure legislation on Wednesday.

Queen Elizabeth II passes a portrait of herself as she tours the ocean liner 'Queen Elizabeth' in 2010. Reuters / Reuters

It is not known exactly how many portraits had been requested in the last few days, although anecdotal evidence indicated that some were being inundated.

Speaking to Australia’s ABC News’ radio Thursday, Tim Watts, a member of Parliament for the opposition Labor party said, "I can say before the story was published, I had received zero requests for portraits of Her Majesty Queen Elizabeth, and then in the last 24 hours, I would say I've had about four dozen.”

"I think 99 percent were made with tongue firmly in cheek," he added.

He’s not alone. Rebekha Sharkie, an MP from the Centre Alliance, tweeted she had received 25 requests for portraits in the space of 12 hours.

Watts — who believes Australia should shed the monarchy and become a republic — added he had taken the opportunity to respond to the “tongue in cheek inquiries” with “a bit nationhood material of my own.”

He said he had also put pro-republic literature, portraits of former Labor prime minister Julia Gillard with Aussie rules football hero Bob Murphy, and invitations to a local barbecue into envelopes containing the royal portrait.

Getting my pictures of the Australian Head of State ready for the dozens of #Melbswest constituents who have now requested them from me as their MP.



Making appropriate local adjustments before sending them out.... pic.twitter.com/UXwlyr7Pfe — Tim Watts MP (@TimWattsMP) 8 August 2018

Another legislator, Terri Butler, joked on Twitter that she had been “talked out of providing a photo of Beyoncé” instead of pictures of the queen, but added the Vice writer who wrote about nationhood materials was “not popular in her office” because of the number of requests she had received.

And Tim Wilson, from the ruling conservative Liberal party, responded tersely to someone “spamming” him on Twitter about the portraits by pointing out “it isn’t free, someone’s taxes pay for it.”

For all the jokes, however, the role of the queen as Australia’s head of state cuts to the core of a decades-old debate over the nation’s sovereignty and identity.

In a 1999 referendum, Australians voted 55 percent to 45 percent against becoming a republic. Last year, the Labor opposition vowed to revisit the issue with a new referendum should they come to power.

Labor’s Watts, however, said that the provision for nationhood materials did have “some merit.”

"Usually people request flags when they're representing Australia overseas for sport or school or community groups," he said in his radio interview.

"Very frequently I give out indigenous and Torres Strait Island flags, and I think that is a worthwhile thing to do for our community," he explained, referring to official flags representing the Aboriginal community of Australia and people indigenous to a group of islands off the country's northern coast.

Quipping about Prince Philip’s Greek heritage, he added, “It’s not all about the farce of giving away pictures of Liz and Phil the Greek.”