Couldn't the Baltic states switch synchronous zones by disconnecting from the Russian grid, blacking out and then bootstrapping using the European grid? That would break continuity of service and require a black start (far from ideal), but that's a contingency they must've thought of in case they suddenly got cut off from Russia and Belarus for some reason.