Tagged phosgenation