Thief's trick: Lock their old ratbike to the rack with the lock going around your frame *as well*. Come back at night with van and bolt cutters to take both bikes home.
I know you're not saying this happened here, but if someone does lock their bike to yours then you must sort it out as soon as possible. Leaving their bike unlocked serves them right regardless of whether they are a thief, or just dumb.