High-order resonances in the restricted three-body problem