No, your presumption is wrong.
You are directed to file a petition before the concerned officer seeking the relief of removal of LOC subsisting against you.
Though the copy of the orders passed in the writ petition might have been endorsed to the concerned officer by the high court, it is just for their information.
It becomes your duty to approach the concerned judicial presiding officer with a petition seeking the desired relief by enclosing the copy of the orders of high court in this regard.
The LOC against your name can be removed only by an order of the concerned judicial presiding officer after you are filing a petition before it,. The court will pass order after hearing both, you as well as the public prosecutor. As per high court orders the petition so filed has to be disposed by the concerned court within the time frame i.e., three weeks from the date of taking the petition on its file.