Steviec9
Point you made is correct as had highlighted it in second post that it is possible for 2 people to meet in Toilet and switch boarding passes.
Issue is less of a problem with online checkin as need to put in passport number etc so that will show whether you can validly travel.