And now for something completely different: A spy story that isn’t about Edward Snowden’s disclosures and the US National Security Agency’s surveillance of everything and everybody. This one could come straight out of a 1950s spy thriller: A microphone buried in a wall, a listening post manned by people with headphones, and transcripts of secret conversations delivered to negotiators.

Now it’s true that Australia is a member of the Gang of Five, more formally known as the “Five Eyes” (the United States, Canada, the United Kingdom, Australia and New Zealand), which share most of the information that they acquire through hi-tech mass surveillance. That’s the kind of spying that Snowden’s leaks are about, and whatever Australia picks up through this process it presumably shares with its co-conspirators.

But the kind of spying under discussion here was too shameful to share even with the other Four Eyes of the “Anglosphere.” It was an Australian-only operation mounted in 2004 to gather information about the negotiating position of a very poor neighboring country, East Timor, so that Australia could rip its neighbor off in a treaty that divided a rich gas field on the seabed between them.

The treaty in question, “Certain Maritime Arrangements in the Timor Sea,” always seemed a bit peculiar. The CMATS treaty gave Australia a half share in the massive Greater Sunrise field, which is said to be worth $40 billion. But that field lies just 60 miles south of East Timor, and 20 miles from Australia.

The normal rule on international seabed rights would put the boundary equidistant between the two countries, but that would have given East Timor sovereignty over the entire gas field. Instead, CMATS postponed a final settlement of the seabed boundary for 50 years, and in the meantime gave Australia 50 percent of the revenue from the Greater Sunrise field.

The existing gas field off East Timor’s coast has only about 10 years’ life left, and the East Timor government depends on gas revenues for 95 percent of its income, so it was very vulnerable in those negotiations. The Australian negotiators could exploit that vulnerability because they had daily updates on how desperate their Timorese opposite numbers were: The Australian Secret Intelligence Service had bugged the prime minister’s and the cabinet offices.

Four ASIS operatives did the job, pretending to be part of a team of Australian aid workers that was renovating East Timor’s government offices. The man who gave the order was Australia’s foreign minister at the time, Alex Downer — who now runs a public relations firm that represents Woodside Petroleum, a major Australian company that was the main beneficiary of the treaty. Funny how things work out.

The operation would never have come to light if the former director of technical operations at ASIS, who led the bugging operation, had not had an attack of conscience on learning of Downer’s link to Woodside. He told East Timor about it, and the Timorese government then brought an action before the Permanent Court of Arbitration at The Hague demanding that the CMATS treaty be canceled.

The Australian government’s response was to arrest the whistle-blower and cancel his passport last week so that he could not travel to The Hague to testify, and to raid the Sydney offices of Bernard Collaery, the lawyer who is representing East Timor before the Court.

The documents seized include an affidavit summarizing the whistle-blower’s testimony at the Court and correspondence between Collaery and his client, Timorese President Xanana Gusmao. It’s more of the same sort of behavior: The Australian government has decided to brazen it out.

But the case may still be settled out of court, because East Timor is still desperate. Woodside has not yet started developing the Greater Sunrise field, and it will never do so if there isn’t a deal. Offer East Timor another 10 percent and a promise to go ahead, and it will probably drop the case. The poor cannot afford justice.