RMG1 is a primary target of RNA‐directed DNA methylation (RdDM), and its expression is controlled by pathogen‐induced Repressor of Silencing 1 (ROS1), which can suppress the RdDM activity and therefore ensure proper expression of the RMG1 in response to infection by the pathogen P. syringae pv. This evidence concerns the gene ROS1 and infection.