poetic license

US /ˌpoʊ.ɪt.ɪk ˈlaɪ.səns/
UK /ˌpoʊ.ɪt.ɪk ˈlaɪ.səns/
"poetic license" picture
1.

the freedom to depart from the facts of a matter or from the conventional rules of language when telling a story or for artistic effect

:
The director took some poetic license with the historical events to make the film more dramatic.
While the poem is based on real events, the author used poetic license to enhance the emotional impact.