Obviously the MinPin has it's own issues. Your dog apparently has some ingrained issues of his own. Spraying the dog in the presence of the dog that attacked him is not going to change that issue. Most aggressive dogs are dealing with either fear or dominance. I can''t tell you which you are dealing with without knowing the dog but I can tell you your dog should not be exposed to other dogs until the problem is completely dealt with. Putting him in a carrier when going to the vet or other public places would prevent more altercations until he is more stable.   
Sounds like you need a true animal behaviorist that can help you sort out what your dogs issues are. You can still work on obedience at home. There are many good books available such  as the one YORKIETALKJILLY swears by. Sometimes when a dog has been properly trained by the owner the fear or dominance goes away because they feel secure in the presence of the owner.     |