Section 47 of Trade Marks Act CAP 506: Certificate of validity
In any legal proceeding in which the validity of the registration of a registered trade mark comes into question and is decided in favour of the proprietor of the trade mark, the court may certify to that effect, and if it so certifies then in any subsequent legal proceedings in which the validity of the registration comes into question the proprietor of the trade mark on obtaining a final order or judgment in his favour shall have his full costs, charges and expenses as between advocate and client, unless in the subsequent proceeding the court certifies that he ought not to have them.
Check the current authoritative text and amendment history before relying on this provision.