enjoin
To order or urge someone, with authority, to do something; in law, to forbid an act by injunction.
Tell
a solemn order, or a court's restraint
Best when
You want a formal word for a weighty order, earnest urging or a court's prohibition, without saying which shade matters most.
Example
“The court enjoined the company from selling the drug.”