Title: Optimal dynamic risk sharing when enforcement is a decision variable