Enclosure in a court of law, a weed and access for ships (4)
I believe the answer is:
dock
(Other definitions for dock that I've seen before include "Harbour" , "Court enclosure; weed" , "box in court and > cut" , "Defendant's enclosure in court" , "pier" .)