during that century monaco suffered serious difficulties that threatened its national independence