We report a method to achieve physical and electronic decoupling of organic molecules from a metal surface. Oxygen adsorbed on the Cu(100) surface immobilizes the surface electrons in the Cu-O covalent bonds. This results in electronic surface hardening and prevents charge transfer from the metal into perylene-tetracarboxylic dianhydride molecules subsequently deposited on this surface.