Both of these examples are against the law.
Queuing at the same time as someone else is expressly allowed: