The U.S. Patent and Trademark Office cannot recover its attorney fees when it’s taken to court over a decision to withhold a patent.

A unanimous U.S. Supreme Court ruled Tuesday that, although Section 145 of the Patent Act permits the USPTO to recover “all expenses of the proceedings,” that does not include the salaries of the office’s lawyers and paralegals who work on the matter.