Here are some ideas on your problem.
When forcing the REF allele in plink, the A2 allele is supposed to be assigned as REF, so you should be using --a2-allele with Mark Rayner's file rather than --a1-allele. I assume that you're using one of his files under the RefAlt section of his page? Those are the only ones that look directly usable by the --a2-allele command. Also, I think that --real-ref-alleles would only be used if you are exporting the .ped/.bed file into a VCF format. Is that what you're doing? Without --real-ref-alleles, the VCF file would be made, but then a flag added that the REF allele may not actually be the REF allele. With --real-ref-alleles, then the VCF is made without the flag and assumes that you correctly set REF=A2 and ALT=A1 in your plink commands. But, in your case, the alleles would be flipped. As an aside, I think with the --a1-allele file --real-ref-alleles commands that you gave, that some contradictory behavior may have happened. On loading, I believe that plink first checks the allele frequencies, automatically flips A1 to the minor allele, and if the SNP is monomorphic, A1 gets set to 0. If for some monomorphic SNPs, the REF allele was not the major allele, then after that automatic process, A2 would be the ALT allele and then the REF allele would not be found across the available A1/A2 alleles by plink when it tried to set A1 to the allele in your Mark Rayner file. If you have monomorphic SNPs in your input file, you might try --keep-allele-order (keep the order of alleles in the input A1/A2 and do not set A1 to 0), and then --a2-allele MRfile. If you're just running a plink analysis and not exporting to VCF, then I believe that you should leave out the --real-ref-alleles flag.
Todd