*Magic Room does not block the use of Mega Stones to Mega Evolve Pokémon. It now has priority of 0. Judgment's type will now always be Normal-type when Magic Room is in effect, regardless of the Plate held.*
It doesn't stop Mega Stones to Mega Evolve Pokemons.
Source