No-fly zone during the mission

Hello everyone. How will the plane behave if in auto mode it crosses the no-fly zone? Will he fly home or continue on the mission?