First, under the qualified immunity addressed in Rutgers a state agency must be able to demonstrate both that the planned action is reasonable and that the agency reasonably consulted with local authorities and took into consideration legitimate local concerns. Second, although an otherwise immune state entity may not be compelled to submit to review before a planning board, when its improvement directly affects off-site property and implicates a safety concern raised by a local governmental entity responsible to protect public safety with respect to that off-site property, special judicial review and action is required. In circumstances such as are presented here, a judicial finding that the cited public safety concern has been reasonably addressed shall be a necessary additional requirement before a court may either compel local regulatory action or grant declaratory relief that the planned action is exempt from land use regulation. The Court does not specify what record warrants such a finding in every case. Rather, the trial court should determine, on a case-by-case basis, whether it could make such a finding via a summary proceeding or whether a more fulsome proceeding is necessary.