Question: are a23 and 21/23 batteries the same?
Answer: The A23 is 2/100 of longer" and 9/100" wider. So a 27a should fit where a 23a does fits in most cases, but not necessary the other way round. Both are 12V DC so no harm to a device if either battery fits and works in your device.