Virginia agrees to penalty for permit violations