The Commissioner of Energy and Environmental Protection shall, within available appropriations, reimburse municipalities for necessary costs incurred when the use of a state park in those municipalities is so great as to impede traffic, limit the movement of emergency vehicles or create a risk of a breach of peace or a threat to public safety.