A national agency acted unlawfully in straying from its mandate, a federal court has ruled. The decision came on a petition by a drug company that complained regulators breached the Patent Act in the name of consumer protection: ‘Ensure a firm and unwavering obedience to legality and the rule of law.’