Others called the ejection incomprehensible and demanded an apology from the speaker.

Danes are used to great flexibility to balance work and family, with a year of paid parental leave, paid days off for parents when their children are ill, and subsidized kindergartens. Still, some say that they struggle to be dedicated employees (or lawmakers) and parents at the same time, and expect some leniency when they bend tradition.

Ms. Abildgaard explained in her post that she would not normally bring her child to the chamber but had chosen to return to work early in order “to serve democracy.” A vote had unexpectedly required her presence and her husband could not make it to Parliament in time to take care of their 5-month-old daughter, Esther Marie.

The girl had been silent and “in a good mood” with a pacifier in her mouth in the chamber, Ms. Abildgaard said, who added that she had made arrangements for her secretary to take the baby if she began making noise.

“We obviously did not want to disturb the meeting!” she wrote.

There are no regulations on babies’ access to the chamber, but the Parliament’s rules say it is the duty of the speaker to maintain order and provide room for “dignified discussions.”

Ms. Kjaersgaard took to Twitter on Tuesday to defend her decision, saying she had “quietly” asked a secretary to tell Ms. Abildgaard that “it’s not good” to bring babies to the chamber, adding that it had been a minor issue.