I don't know about sticking to the laws of football, on this occasion showing a modicum of common sense would have been the correct decission. I would have thought, common sense would have been a pre-requisit for a referee.
Who would have thought a ref could bring controversy to a friendly ? All the ref needs to do is ask the Accy manager if he is OK with what has happened, and take it from there.