The state shall reimburse cities and counties for their costs incurred under chapter
41.26 RCW if the costs are the direct result of physical injuries sustained in the implementation of a contingency plan adopted under RCW
72.02.150 and if reimbursement is not precluded by the following provisions: If the secretary of corrections identifies in the contingency plan the prison walls or other perimeter of the secured area, then reimbursement will not be made unless the injuries occur within the walls or other perimeter of the secured area. If the secretary of corrections does not identify prison walls or other perimeter of the secured area, then reimbursement shall not be made unless the injuries result from providing assistance, requested by the secretary of corrections or the secretary's designee, which is beyond the description of the assistance contained in the contingency plan. In no case shall reimbursement be made when the injuries result from conduct which either is not requested by the secretary of corrections or the secretary's designee, or is in violation of orders by superiors of the local law enforcement agency.