Nitrosonium-nitrate NO+NO3− and dinitrogen pentoxide NO2+NO3− ionic crystals were synthesized by laser heating of a condensed oxygen-rich O2-N2 mixture compressed to different pressures, up to 40 GPa, in a diamond anvil cell (DAC). High-pressure/high-temperature Raman and X-ray diffraction studies of synthesized samples disclosed a transformation of NO+NO3− compound to NO2+NO3− crystal at temperatures above ambient and pressures below 9 GPa. High-pressure experiments revealed previously unreported bands in Raman spectra of NO+NO3− and NO2+NO3− ionic crystals. Structural properties of both ionic compounds are analyzed. Obtained experimental results support a hypothesis of a rotational disorder of NO+ complexes in NO+NO3− and indicate a rotational disorder of ionic complexes in NO2+NO3− solid.