Man, 21, charged after 'swimming into ocean to escape police': court