That's a good point. There's no guarantee that compromised devices will stay within Australian jurisdiction. How are diplomats affected by this law?
They are so the US and other 5 eyes members can spy on their own citizens in ways that are illegal under their own laws.
These laws are terrifying for everyone, not only Australians.