The definition of legitimize is to make something legal or to make it acceptable, permissible or correct.(verb)
When you make a previously forbidden behavior legal, this is an example of a time when you legitimize the behavior.
See legitimize in Webster's New World College Dictionary
See legitimize in American Heritage Dictionary 4
transitive verb le·git·i·mized, le·git·i·miz·ing, le·git·i·miz·es
Learn more about legitimize