Texas AG’s view about guns in courthouses comes under fire