"Parties' freedom to contract may be restricted by a number of factors, the most significant of which for the maritime sector..."