Doubt it was a prank.Likely as stated that other aircraft can have the same code.
Beyond that, there are selcal test sets where you can select the code for the aircraft and test your selcal without calling on HF where in some places you may experience a birthday or 2 waiting for some station to wake up.
So the selcal may have been local and possibly accidental.