The gems are lost and nothing happens (unless you hit a dome of flaming death, in which case you get fried). Note that your mages are NOT immune to your own domes! Trying to e.g. cloud trapeze into a province of your own with a dome is going to either fail or destroy the dome.