The state’s environmental agencies say Superior Court Judge Brian Davis’s April 1 decision could impact 17 municipal harbor plans across the commonwealth.