"In the result it was accepted that if in the proceedings there arose an issue as to the existence or non-existence of a right created by the Trade Marks Act the Supreme Court was exercising federal jurisdiction.
However, the parties were in dispute as to when a matter 'arises' within the meaning of s 76(ii) so as to attract the exercise of federal jurisdiction. The cases establish that federal jurisdiction is attracted if the right or duty based in a federal statute is directly asserted by the plaintiff or defendant, but not if the federal question arises only in some incidental fashion. So too federal jurisdiction is attracted if the court finds it necessary to decide whether or not a right or duty based in federal law exists, even if that matter has not been pleaded by the parties. But the converse is not true. If a federal matter is raised on the pleadings federal jurisdiction is exercised, notwithstanding that the court finds it unnecessary to decide the federal question because the case can be disposed of on other grounds."
12 In one aspect, what this means is that when a federal law is pleaded in defence of a claim that in itself lay entirely within a State jurisdiction, or even though the federal law is not pleaded, when it becomes a necessary issue in the case, a change comes over the jurisdiction the court is exercising, and the matter, though originally in State jurisdiction, turns into a matter calling for the exercise of federal jurisdiction. In Ovid's Metamorphoses, the fleeing Daphne was transformed into a laurel tree as a defence against the too eager suit of Apollo. The Australian Constitution is scarcely less dramatic than the myth: upon a defendant raising a defence under federal law, or a federal issue otherwise being raised for decision, the suit itself becomes metamorphosed into a federal matter.
13 The plaintiff in L.N.C. Industries Limited v B.M.W. (Australia) Limited (1983) 151 CLR 575 sought, by proceedings in the Supreme Court, to enforce contractual rights with respect to an import quota which depended on regulations under the Customs Act 1901 (Cth). It appears that the defence did not raise, and the trial judge did not decide, any question under the Act or the Regulations. In a joint judgment, Gibbs CJ, Mason, Wilson, Brennan, Deane and Dawson JJ said (at 581-582):
"It is true to say that a matter does not arise under a law made by the Parliament merely because the interpretation of the law is involved: Felton v Mulligan (1971) 124 C.L.R. 367, at pp. 374, 382, 396, 408, 416. On the other hand, a matter may arise under a law of the Parliament although the interpretation or validity of the law is not involved: R v Commonwealth Court of Conciliation and Arbitration; Ex parte Barrett (1945) 70 C.L.R. 141, at p. 154. The conclusion reached by Latham C.J. in that case, and stated in a passage that has often been cited with approval, is 'that a matter may properly be said to arise under a federal law if the right or duty in question in the matter owes its existence to federal law or depends upon federal law for its enforcement, whether or not the determination of the controversy involves the interpretation (or validity) of the law'. Equally, there is a matter arising under a federal law if the source of a defence which asserts that the defendant is immune from the liability or obligation alleged against him is a law of the Commonwealth: Felton v Mulligan (1971) 124 C.L.R., at p. 408.
When it is said that a matter will arise under a law of the Parliament only if the right or duty in question in the matter owes its existence to a law of the Parliament that does not mean that the question depends on the form of the relief sought and on whether that relief depends on federal law. A claim for damages for breach or for specific performance of a contract, or a claim for relief for breach of trust, is a claim for relief of a kind which is available under State law, but if the contract or trust is in respect of a right or property which is the creation of federal law, the claim arises under federal law. The subject matter of the contract or trust in such a case exists as a result of the federal law.
…
The contracts in the present matter were concerned solely with entitlements under the Regulations. The object of the plaintiff's claim was identified in the statement of claim as 'any benefit accruing' after a certain time as a result of the utilization of a quota under the Regulations. It is common ground that the 'benefit' mentioned is any 'benefit' which might accrue under the Regulations. The subject matter of the contracts and of the action arose under and existed only by reason of the provisions of the Regulations and the Act in pursuance of which the Regulations were made. The Act was of course a law of the Parliament and the Regulations were made under it.
The present case is not, to use the words of Windeyer J. in Felton v Mulligan (1971) 124 C.L.R., at p. 391, one in which the Regulations are merely 'lurking in the background'. The very subject of the issue between the parties is an entitlement under the Regulations. In substance the plaintiff's primary claim is to the benefit of rights and privileges under the Regulations. In these circumstances the matter involved in the action arose under laws made by the Parliament."